Borderou de evaluare (job #729852)

Utilizator alexalbu95Albu Alexandru alexalbu95 Data 30 martie 2012 13:34:56
Problema Pietre2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

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:39: warning: unused variable ‘ok’ user.cpp:67: warning: no return statement in function returning non-void user.cpp: In function ‘int main()’: user.cpp:89: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ user.cpp:89: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’ user.cpp:89: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’ user.cpp:71: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:72: 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 gresit0
40ms252kbRaspuns gresit0
50ms248kbRaspuns gresit0
64ms256kbRaspuns gresit0
70ms248kbRaspuns corect10
84ms300kbRaspuns corect10
94ms276kbRaspuns corect10
10Depăşit252kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?