Borderou de evaluare (job #728636)

Utilizator alexalbu95Albu Alexandru alexalbu95 Data 28 martie 2012 20:36:38
Problema Pietre2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:19: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:21: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘int lee(int, int)’: user.cpp:35: warning: unused variable ‘ok’ user.cpp:63: warning: no return statement in function returning non-void user.cpp: In function ‘int main()’: user.cpp:76: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ user.cpp:76: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’ user.cpp:76: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’ user.cpp:67: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:68: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbRaspuns corect10
20ms248kbRaspuns corect10
30ms248kbRaspuns corect10
40ms248kbRaspuns gresit0
5Depăşit252kbTime limit exceeded.0
6Depăşit248kbTime limit exceeded.0
70ms248kbRaspuns corect10
84ms292kbRaspuns corect10
94ms268kbRaspuns corect10
10Depăşit252kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?