Borderou de evaluare (job #732070)

Utilizator avatar Traian_7109 Traian Mihai Danciu Traian_7109 IP ascuns
Problemă Proiecte (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 13 sept. 2023 19:58:49 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d%d", &n, &t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &m); | ^~~~~~~~~~~~~~~~~~~~~ main.c:17:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~ main.c:33:8: warning: 'cand' may be used uninitialized [-Wmaybe-uninitialized] 33 | ans[cand]++; | ~~~^~~~~~ main.c:12:13: note: 'cand' was declared here 12 | int n, t, cand, cnt, m, i, x, max; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 169 ms 245 kb OK 10
2 9 ms 249 kb OK 10
3 99 ms 249 kb OK 10
4 139 ms 249 kb OK 10
5 19 ms 249 kb OK 10
6 9 ms 249 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 149 ms 245 kb OK 10
10 109 ms 245 kb OK 10
Punctaj total 100