Borderou de evaluare (job #759695)

Utilizator avatar MihneaDragomir Mihnea Dragomir MihneaDragomir IP ascuns
Problemă Nrdif (clasele 5-6) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 31 ian. 2024 21:00:30 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:7:31: warning: unused variable 'dif' [-Wunused-variable] 7 | int n, i, max, m, j, aux, dif, p, u; | ^~~ main.c:7:26: warning: unused variable 'aux' [-Wunused-variable] 7 | int n, i, max, m, j, aux, dif, p, u; | ^~~ main.c:7:23: warning: unused variable 'j' [-Wunused-variable] 7 | int n, i, max, m, j, aux, dif, p, u; | ^ main.c:7:20: warning: unused variable 'm' [-Wunused-variable] 7 | int n, i, max, m, j, aux, dif, p, u; | ^ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf (fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf (fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:63:12: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized] 63 | if (v[i+1]-v[i]>max) { | ^ main.c:7:15: note: 'max' was declared here 7 | int n, i, max, m, j, aux, dif, p, u; | ^~~
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 249 kb OK 10
4 159 ms 249 kb Time limit exceeded 0
5 159 ms 507 kb Time limit exceeded 0
6 159 ms 770 kb Time limit exceeded 0
7 159 ms 774 kb Time limit exceeded 0
8 159 ms 1028 kb Time limit exceeded 0
9 159 ms 1036 kb Time limit exceeded 0
10 159 ms 1032 kb Time limit exceeded 0
Punctaj total 30