Borderou de evaluare (job #735299)

Utilizator avatar Rradu_v2 Catana Radu Rradu_v2 IP ascuns
Problemă Numere Apropiate (clasa a 7-a) Compilator c-32
Rundă Tema 3 Clasa a 8-a Status evaluat
Dată 3 oct. 2023 17:42:09 Scor 60

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", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d ", &q); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:25:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf(fin, "%d ", &id); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:32:10: warning: 'dir' may be used uninitialized [-Wmaybe-uninitialized] 32 | j=id+dir; | ~^~~~~~~ main.c:9:25: note: 'dir' was declared here 9 | int n, q, i, j, id, dir; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 9 ms 241 kb OK 10
6 19 ms 229 kb OK 10
7 259 ms 638 kb Time limit exceeded 0
8 259 ms 409 kb Time limit exceeded 0
9 259 ms 507 kb Time limit exceeded 0
10 259 ms 499 kb Time limit exceeded 0
Punctaj total 60