Borderou de evaluare (job #687400)

Utilizator avatar diana_2010 ionica diana maria diana_2010 IP ascuns
Problemă Pietre (clasa a 6-a) Compilator c-32
Rundă Tema 14 clasa a 6-a Status evaluat
Dată 15 ian. 2023 09:54:45 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d%d%d%d", &n, &m, &k, &g); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d", &lin); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &col); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:24:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf(fin, "%d", &lin); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:25:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf(fin, "%d", &col); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:102:18: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] 102 | for(i = 1; i <= cnt; i++) | ~~^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 9 ms 245 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 1 ms 114 kb OK 5
6 1 ms 114 kb OK 5
7 1 ms 114 kb OK 5
8 1 ms 114 kb OK 5
9 1 ms 241 kb OK 5
10 1 ms 241 kb OK 5
11 1 ms 114 kb OK 5
12 1 ms 114 kb OK 5
13 1 ms 114 kb OK 5
14 1 ms 114 kb OK 5
15 1 ms 114 kb OK 5
16 1 ms 114 kb OK 5
17 1 ms 241 kb OK 5
18 54 ms 249 kb OK 5
19 227 ms 327 kb OK 5
20 178 ms 356 kb OK 5
Punctaj total 100