Borderou de evaluare (job #2036111)
Utilizator | Data | 10 octombrie 2017 12:24:35 | |
---|---|---|---|
Problema | Wall | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool cmp(sct, sct)’:
user.cpp:17:11: error: ‘struct sct’ has no member named ‘t’
if (a.t==b.t)
^
user.cpp:17:16: error: ‘struct sct’ has no member named ‘t’
if (a.t==b.t)
^
user.cpp:19:19: error: ‘struct sct’ has no member named ‘i’
return (a.i<b.i);
^
user.cpp:19:23: error: ‘struct sct’ has no member named ‘i’
return (a.i<b.i);
^
user.cpp:21:15: error: ‘struct sct’ has no member named ‘t’
return (a.t<b.t);
^
user.cpp:21:19: error: ‘struct sct’ has no member named ‘t’
return (a.t<b.t);
^
user.cpp: In function ‘int main()’:
user.cpp:26:12: error: ‘ncet’ was not declared in this scope
fin >> ncet >> nsect;
^
user.cpp:26:20: error: ‘nsect’ was not declared in this scope
fin >> ncet >> nsect;
^
user.cpp:28:10: error: ‘i’ was not declared in this scope
for (i=1; i<=ncet; ++i)
^
user.cpp:33:35: error: ‘sort’ was not declared in this scope
sort (vtime+1,vtime+ncet+1,cmp);
^
user.cpp:35:5: error: ‘crt’ was not declared in this scope
crt=1;
^
user.cpp:37:10: error: ‘i’ was not declared in this scope
for (i=ncet; vtime[i].time>nsect; --i)
^
user.cpp:39:9: error: ‘vafis’ was not declared in this scope
vafis[++z]=time[i].ind;
^
user.cpp:39:17: error: ‘z’ was not declared in this scope
vafis[++z]=time[i].ind;
^
user.cpp:46:9: error: ‘st’ was not declared in this scope
st=1;
^
user.cpp:47:9: error: ‘dr’ was not declared in this scope
dr=ncet;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !