Borderou de evaluare (job #807048)

Utilizator avatar david_d2 David Alexandru Dimulescu david_d2 IP ascuns
Problemă Lăcusta (clasa a 10-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 29 ian. 2025 13:38:19 Scor 40

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf( fin, "%d%d", &n, &m ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:12: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf( fin, "%d", &mat[ l ][ c ] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:24:35: warning: 'ca' may be used uninitialized [-Wmaybe-uninitialized] 24 | if( sumin > sum && ca != c ){ | ~~~^~~~ main.c:11:52: note: 'ca' was declared here 11 | int n, m, c, l, i, sum, sumin, cmin, sumt = 0, ca; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 266 kb OK 10
5 2 ms 245 kb OK 10
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 249 kb Incorect 0
10 8 ms 229 kb Incorect 0
Punctaj total 40