Borderou de evaluare (job #755081)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Cifre comune (clasa a 5-a) Compilator c-32
Rundă Tema 20 clasa a 5-a Status evaluat
Dată 13 ian. 2024 22:35:09 Scor 40

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:21:19: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] 21 | v[iii][ei]=c; | ~~~~~~~~~~^~ main.c:10:13: note: within this loop 10 | while(ii<2) | ~~^~ main.c:42:21: warning: array subscript 1 is above array bounds of 'int[1]' [-Warray-bounds=] 42 | while(i<v[0][1]){ | ~~~~^~~ main.c:3:5: note: while referencing 'v' 3 | int v[50][1]; | ^ main.c:43:20: warning: array subscript 1 is above array bounds of 'int[1]' [-Warray-bounds=] 43 | if(v[i][1]==j&&control==1) | ~~~~^~~ main.c:3:5: note: while referencing 'v' 3 | int v[50][1]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 241 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 40