Borderou de evaluare (job #799166)

Utilizator avatar MihaiDraghici MIHAI DRAGHICI MihaiDraghici IP ascuns
Problemă Maraton (clasa a 7-a) Compilator c-32
Rundă Concurs 04 | IQ Academy | clasa a 6-a Status evaluat
Dată 7 dec. 2024 18:55:19 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", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &c[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:58:12: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized] 58 | cnt=cnt+st; | ~~~^~~~~~~ main.c:22:9: note: 'st' was declared here 22 | int st; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 507 kb OK 10
3 1 ms 507 kb OK 10
4 1 ms 266 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 159 kb OK 10
7 1 ms 245 kb OK 10
8 2 ms 126 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100