Borderou de evaluare (job #721987)

Utilizator mihai995mihai995 mihai995 Data 24 martie 2012 14:43:13
Problema Muncitori Status done
Runda Algoritmiada 2012 - Runda 4, Clasa a 10-a Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6: error: ‘int time [100005]’ redeclared as different kind of symbol /usr/include/time.h:186: error: previous declaration of ‘time_t time(time_t*)’ user.cpp: In function ‘int cmp(int, int)’: user.cpp:10: warning: pointer to a function used in arithmetic user.cpp:10: warning: pointer to a function used in arithmetic user.cpp: In function ‘int main()’: user.cpp:114: warning: pointer to a function used in arithmetic user.cpp:114: error: ISO C++ forbids comparison between pointer and integer user.cpp:121: warning: pointer to a function used in arithmetic user.cpp:121: error: assignment of read-only location ‘*(time + ((unsigned int)w))’ user.cpp:121: error: cannot convert ‘int’ to ‘time_t(time_t*)’ in assignment

Ceva nu functioneaza?