Borderou de evaluare (job #422731)

Utilizator avatar mircearoata Mircea Roata Palade mircearoata IP ascuns
Problemă Resturi 2 (clasele 5-6 ) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 20 ian. 2019 14:24:49 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat] user.cpp:20:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat] user.cpp:21:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat] user.cpp:24:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat] user.cpp:31:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat] user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:21:24: 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 276 kb OK 10
3 0 ms 276 kb OK 10
4 12 ms 284 kb OK 10
5 24 ms 284 kb OK 10
6 120 ms 276 kb OK 10
7 116 ms 276 kb OK 10
8 128 ms 284 kb OK 10
9 132 ms 280 kb OK 10
10 144 ms 284 kb OK 10
Punctaj total 100