Borderou de evaluare (job #94526)

Utilizator avatar BadicaMihneaa Badica Mihnea Petru BadicaMihneaa IP ascuns
Problemă Medalion (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 2 dec. 2014 16:22:28 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void calcul()’: user.cpp:16:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat] user.cpp: In function ‘int main()’: user.cpp:24:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat] user.cpp:24:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat] user.cpp:24:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat] user.cpp:58:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat] user.cpp:59:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat] user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:22:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:24:29: 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 272 kb OK 10
2 0 ms 356 kb OK 10
3 4 ms 544 kb OK 10
4 4 ms 640 kb OK 10
5 4 ms 636 kb OK 10
6 4 ms 632 kb OK 10
7 4 ms 636 kb OK 10
8 4 ms 584 kb OK 10
9 4 ms 636 kb OK 10
10 0 ms 384 kb OK 10
Punctaj total 100