Borderou de evaluare (job #2520866)

Utilizator JafarakKarina Jafara Jafarak Data 9 ianuarie 2020 20:44:34
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:12:54: error: 'int time' redeclared as different kind of symbol int n,m,a[N][N],romeo[N][N],juliet[N][N],imeet,jmeet,time; ^~~~ 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:1: /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 'void lee()': main.cpp:91:42: error: assignment of function 'time_t time(time_t*)' time=romeo[inew][jnew]; ^ main.cpp:91:42: error: cannot convert 'int' to 'time_t(time_t*) throw () {aka long int(long int*) throw ()}' in assignment main.cpp: In function 'int main()': main.cpp:104:8: warning: the address of 'time_t time(time_t*)' will always evaluate as 'true' [-Waddress] g<<time<<" "<<imeet<<" "<<jmeet<<'\n'; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?