Borderou de evaluare (job #731367)

Utilizator avatar Rradu_v2 Catana Radu Rradu_v2 IP ascuns
Problemă Balcon Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 6 sept. 2023 20:20:03 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:22:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin, "%d", &sortat[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:60:33: warning: array subscript 4 is above array bounds of 'int[4]' [-Warray-bounds] 60 | else if(dir==3 && lin==0+sides[4]) | ~^~~~~~~~~ main.c:9:5: note: while referencing 'sides' 9 | int sides[4]; | ^~~~~ main.c:42:27: warning: 'id' may be used uninitialized [-Wmaybe-uninitialized] 42 | sortat[j] = sortat[id]; | ~~~~~~^~~~ main.c:16:37: note: 'id' was declared here 16 | int n, lin, col, j=0, i=0, min, id, aux, dir = 0; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 5 ms 249 kb Wall time limit exceeded 0
3 3 ms 245 kb Incorect 0
4 9 ms 245 kb Wall time limit exceeded 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 0