Borderou de evaluare (job #2540793)
Utilizator | Data | 7 februarie 2020 18:48:45 | |
---|---|---|---|
Problema | Heavy metal | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:16: error: 'int time [100009]' redeclared as different kind of symbol
int time[100009];
^
In file included from /usr/include/pthread.h:24:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/gthr-default.h:35,
from /usr/include/x86_64-linux-gnu/c++/6/bits/gthr.h:148,
from /usr/include/c++/6/ext/atomicity.h:35,
from /usr/include/c++/6/bits/ios_base.h:39,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from main.cpp:2:
/usr/include/time.h:192:15: note: previous declaration 'time_t time(time_t*)'
extern time_t time (time_t *__timer) __THROW;
^~~~
main.cpp: In function 'bool comp(band, band)':
main.cpp:20:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return a.s < b.s || a.s == b.s && a.d < b.d;
~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'void Read()':
main.cpp:35:11: warning: unused variable 'j' [-Wunused-variable]
int i,j;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !