Borderou de evaluare (job #811434)

Utilizator avatar CodinAlexandru Codin Alexandru CodinAlexandru IP ascuns
Problemă Analiza (clasa a 5-a) Compilator c-32
Rundă Concurs 04 | IQ Academy | clasa a 5-a Status evaluat
Dată 25 feb. 2025 10:22:51 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d%d",&c, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~ main.c:40:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | fscanf(fin,"%d",&f[i]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:44:27: warning: array subscript -1 is below array bounds of 'int[100000]' [-Warray-bounds=] 44 | if(f[i]==f[i-j]){ | ~^~~~~ main.c:4:5: note: while referencing 'f' 4 | int f[100000]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb Incorect 0
2 4 ms 245 kb OK 5
3 5 ms 245 kb Incorect 0
4 4 ms 245 kb OK 5
5 4 ms 245 kb Incorect 0
6 5 ms 245 kb Incorect 0
7 8 ms 245 kb Incorect 0
8 9 ms 249 kb Incorect 0
9 28 ms 249 kb Incorect 0
10 66 ms 249 kb Incorect 0
11 5 ms 249 kb Killed by Signal 11 0
12 3 ms 249 kb Killed by Signal 11 0
13 5 ms 249 kb Killed by Signal 11 0
14 4 ms 249 kb Killed by Signal 11 0
15 4 ms 249 kb Killed by Signal 11 0
16 5 ms 249 kb Killed by Signal 11 0
17 5 ms 249 kb Killed by Signal 11 0
18 5 ms 249 kb Killed by Signal 11 0
19 5 ms 249 kb Killed by Signal 11 0
20 5 ms 249 kb Killed by Signal 11 0
Punctaj total 10