Borderou de evaluare (job #687323)

Utilizator avatar diana_2010 ionica diana maria diana_2010 IP ascuns
Problemă Pietre (clasa a 6-a) Compilator c-32
Rundă Concurs 04 cursuri de performanță | IQ Academy | clasa a 6-a Status evaluat
Dată 14 ian. 2023 18:54:41 Scor 75

Raport evaluator

Compilare: main.c: In function 'main': main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d%d%d%d", &n, &m, &k, &g); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:19:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin, "%d", &lin); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &col); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:28:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(fin, "%d", &lin); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:29:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin, "%d", &col); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:115:18: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] 115 | for(i = 1; i <= cnt; i++) | ~~^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb OK 5
6 1 ms 245 kb Incorect 0
7 1 ms 114 kb OK 5
8 1 ms 241 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 241 kb Incorect 0
13 1 ms 114 kb OK 5
14 1 ms 114 kb Incorect 0
15 1 ms 114 kb OK 5
16 1 ms 114 kb OK 5
17 1 ms 245 kb OK 5
18 57 ms 249 kb OK 5
19 224 ms 376 kb OK 5
20 176 ms 376 kb Incorect 0
Punctaj total 75