Borderou de evaluare (job #803265)

Utilizator gramatovici_paulGramatovici Paul gramatovici_paul Data 27 octombrie 2012 12:11:18
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:12: error: ‘int time [111111]’ redeclared as different kind of symbol /usr/include/time.h:186: error: previous declaration of ‘time_t time(time_t*)’ user.cpp: In function ‘void dfs1(int)’: user.cpp:17: warning: comparison between signed and unsigned integer expressions user.cpp:25: warning: pointer to a function used in arithmetic user.cpp:25: error: assignment of read-only location ‘*(time + ((unsigned int)(++ nr)))’ user.cpp:25: error: cannot convert ‘int’ to ‘time_t(time_t*)’ in assignment user.cpp: In function ‘void dfs2(int)’: user.cpp:32: warning: comparison between signed and unsigned integer expressions user.cpp: In function ‘int main()’: user.cpp:63: warning: pointer to a function used in arithmetic user.cpp:63: error: invalid types ‘bool [111111][time_t(time_t*)]’ for array subscript user.cpp:65: warning: pointer to a function used in arithmetic user.cpp:65: error: invalid types ‘bool [111111][time_t(time_t*)]’ for array subscript user.cpp:67: warning: pointer to a function used in arithmetic user.cpp:67: error: invalid conversion from ‘time_t (*)(time_t*)throw ()’ to ‘int’ user.cpp:67: error: initializing argument 1 of ‘void dfs2(int)’ user.cpp:73: warning: comparison between signed and unsigned integer expressions

Ceva nu functioneaza?