Borderou de evaluare (job #788696)

Utilizator avatar miscento Tudor Paltanea miscento IP ascuns
Problemă Cursa Formula 1 2 (clasa a 7-a) Compilator c-32
Rundă Tema 10 Clasa a 6-a Status evaluat
Dată 29 sept. 2024 18:28:03 Scor 47

Raport evaluator

Compilare: main.c: In function 'main': main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin, "%d%d%d%d%d", &c, &y, &x, &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:27:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "\n"); | ^~~~~~~~~~~~~~~~~ main.c:36:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | fscanf(fin, "%d.%d\n", &min, &sec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:102:36: warning: array subscript 20000 is above array bounds of 'int[100]' [-Warray-bounds=] 102 | t*= timpi[nIdx][20000]; | ~~~~~~~~~~~^~~~~~~ main.c:6:5: note: while referencing 'timpi' 6 | int timpi[20001][100]; | ^~~~~ main.c:98:36: warning: array subscript 20000 is above array bounds of 'int[100]' [-Warray-bounds=] 98 | t = timpi[nIdx][20000] * y / x; | ~~~~~~~~~~~^~~~~~~ main.c:6:5: note: while referencing 'timpi' 6 | int timpi[20001][100]; | ^~~~~ main.c:49:32: warning: array subscript 20000 is above array bounds of 'int[100]' [-Warray-bounds=] 49 | timpi[nIdx][20000]+= t; | ~~~~~~~~~~~^~~~~~~ main.c:6:5: note: while referencing 'timpi' 6 | int timpi[20001][100]; | ^~~~~ main.c:49:32: warning: array subscript 20000 is above array bounds of 'int[100]' [-Warray-bounds=] 49 | timpi[nIdx][20000]+= t; | ~~~~~~~~~~~^~~~~~~ main.c:6:5: note: while referencing 'timpi' 6 | int timpi[20001][100]; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 5
2 1 ms 245 kb OK 5
3 99 ms 270 kb OK 5
4 319 ms 249 kb OK 5
5 349 ms 270 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 245 kb OK 5
8 79 ms 245 kb Incorect 0
9 79 ms 249 kb Incorect 0
10 79 ms 249 kb OK 5
11 1 ms 245 kb OK 5
12 1 ms 249 kb Incorect 0
13 1 ms 245 kb Incorect 0
14 79 ms 245 kb Incorect 0
15 99 ms 266 kb Incorect 0
16 49 ms 249 kb Incorect 0
17 539 ms 245 kb Incorect 0
18 9 ms 245 kb OK 5
19 79 ms 249 kb Incorect 0
20 659 ms 249 kb Incorect 0
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 47