Borderou de evaluare (job #834347)

Utilizator avatar Tudor_MD Marin-Diu Tudor Tudor_MD IP ascuns
Problemă V (clasa a 7-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 21 sept. 2025 19:24:51 Scor 75

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf( fin, "%d%d", &m, &n ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf( fin, "%d", &stinga[0][c] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:25:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf( fin, "%d", &elem ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:28:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf( fin, "%d", &elem ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:42:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fscanf( fin, "%d", &elem ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:49:5: warning: 'maxc' may be used uninitialized [-Wmaybe-uninitialized] 49 | fprintf( fout, "%d %d %d\n", maxsum, maxc + 1, maxl + 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:8:47: note: 'maxc' was declared here 8 | int m, n, l, c, vsel, elem, sumv, maxsum, maxc, maxl, limita; | ^~~~ main.c:49:5: warning: 'maxl' may be used uninitialized [-Wmaybe-uninitialized] 49 | fprintf( fout, "%d %d %d\n", maxsum, maxc + 1, maxl + 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:8:53: note: 'maxl' was declared here 8 | int m, n, l, c, vsel, elem, sumv, maxsum, maxc, maxl, limita; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 296 kb OK 5
2 0 ms 296 kb OK 5
3 0 ms 296 kb OK 5
4 0 ms 296 kb OK 5
5 0 ms 504 kb OK 5
6 1 ms 504 kb OK 5
7 1 ms 504 kb OK 5
8 1 ms 296 kb OK 5
9 1 ms 504 kb OK 5
10 1 ms 504 kb OK 5
11 64 ms 392 kb OK 5
12 64 ms 504 kb OK 5
13 64 ms 392 kb OK 5
14 64 ms 504 kb OK 5
15 depășit 504 kb Time limit exceeded. 0
16 depășit 296 kb Time limit exceeded. 0
17 128 ms 296 kb OK 5
18 depășit 296 kb Time limit exceeded. 0
19 depășit 296 kb Time limit exceeded. 0
20 depășit 504 kb Time limit exceeded. 0
Punctaj total 75