Borderou de evaluare (job #70562)

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 09:00:48 Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:14:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:32:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:33:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:34:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:52:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:59:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:32:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:34: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 288 kb OK 10
2 0 ms 284 kb OK 10
3 0 ms 284 kb OK 10
4 548 ms 288 kb OK 10
5 0 ms 284 kb OK 10
6 0 ms 284 kb OK 10
7 4 ms 280 kb OK 10
8 0 ms 288 kb OK 10
9 0 ms 288 kb OK 10
10 depășit 256 kb Time limit exceeded. 0
Punctaj total 90