Borderou de evaluare (job #669530)

Utilizator avatar teonic Teodorescu Nicolas Alexandru teonic IP ascuns
Problemă Numere12 (clasele 9-10) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 15 oct. 2022 13:55:26 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:45:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | fscanf( fin, "%d%d%d", &m, &n, &k ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | fscanf( fin, "%d", &mat[l][c] ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:60:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | fscanf( fin, "%d%d", &l, &c ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:115:17: warning: 'par' may be used uninitialized in this function [-Wmaybe-uninitialized] 115 | if ( marcat[l - 1][c] != par && marcat[l][c] != INF && marcat[l][c] != INF + 1 ) { | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK! 10
2 52 ms 118 kb Time limit exceeded 0
3 1 ms 114 kb Numarul de mutari nu este bun 0
4 1 ms 114 kb OK! 10
5 17 ms 118 kb Numarul de mutari nu este bun 0
6 51 ms 118 kb Time limit exceeded 0
7 50 ms 118 kb Time limit exceeded 0
8 54 ms 118 kb Time limit exceeded 0
9 51 ms 118 kb Time limit exceeded 0
10 50 ms 118 kb Time limit exceeded 0
Punctaj total 20