Borderou de evaluare (job #568511)

Utilizator avatar DianaIonita Ionita Diana DianaIonita IP ascuns
Problemă Abc 1 (clasa a 9-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 22 oct. 2020 11:25:24 Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat] user.cpp:11:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat] user.cpp:12:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat] user.cpp:20:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat] user.cpp:25:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat] user.cpp:57:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat] user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:12:20: 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 428 kb Incorect 0
2 0 ms 428 kb OK 10
3 0 ms 420 kb OK 10
4 0 ms 428 kb OK 10
5 0 ms 420 kb OK 10
6 0 ms 424 kb OK 10
7 0 ms 428 kb OK 10
8 0 ms 420 kb OK 10
9 0 ms 424 kb OK 10
10 0 ms 420 kb OK 10
Punctaj total 90