Borderou de evaluare (job #854100)

Utilizator avatar vvru Mircea vvru IP ascuns
Problemă Missing Numbers Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 22 feb. 2026 23:20:27 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:56:18: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 56 | fprintf(f,"%ld %ld", pozx, pozy ); | ~~^ ~~~~ | | | | | int | long int | %d main.cpp:56:22: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] 56 | fprintf(f,"%ld %ld", pozx, pozy ); | ~~^ ~~~~ | | | | long int int | %d main.cpp:5:11: warning: unused variable 'poz' [-Wunused-variable] 5 | int poz,pozx,pozy; | ^~~ main.cpp:7:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | fscanf(f,"%d",&n); | ~~~~~~^~~~~~~~~~~ main.cpp:10:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(f,"%d",&v); | ~~~~~~^~~~~~~~~~~ main.cpp:32:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fscanf(f,"%d",&v); | ~~~~~~^~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 508 kb OK 10
2 0 ms 292 kb OK 10
3 23 ms 292 kb OK 10
4 166 ms 364 kb Incorect 0
5 253 ms 508 kb OK 10
6 depășit 508 kb Time limit exceeded. 0
7 depășit 512 kb Time limit exceeded. 0
8 depășit 296 kb Time limit exceeded. 0
9 depășit 512 kb Time limit exceeded. 0
10 depășit 296 kb Time limit exceeded. 0
Punctaj total 40