Borderou de evaluare (job #70620)

Utilizator avatar ionanghelina Ionut Anghelina ionanghelina IP ascuns
Problemă Cyber (clasa 5-6) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 14 mai 2014 20:00:45 Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:22:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:27:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:39:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:50:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:51:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:52:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:67:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:79:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:13:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 284 kb OK 10
2 0 ms 292 kb OK 10
3 0 ms 284 kb OK 10
4 544 ms 292 kb OK 10
5 0 ms 284 kb Killed by signal 8(SIGFPE). 0
6 0 ms 280 kb Killed by signal 8(SIGFPE). 0
7 0 ms 280 kb Killed by signal 8(SIGFPE). 0
8 0 ms 288 kb Killed by signal 8(SIGFPE). 0
9 0 ms 284 kb Killed by signal 8(SIGFPE). 0
10 0 ms 280 kb Killed by signal 8(SIGFPE). 0
Punctaj total 40