Borderou de evaluare (job #749005)

Utilizator avatar ptrmp Petru Marin-Perianu ptrmp IP ascuns
Problemă Cursa Formula 1 2 (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 2 dec. 2023 12:32:26 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:94:45: warning: array subscript has type 'char' [-Wchar-subscripts] 94 | fprintf(fout, "%d. %s", i, m[poz[i]]); | ~~~^~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d %d %d %d %d\n", &q, &y, &x, &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:19:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fgets(nume, 101, fin); | ^~~~~~~~~~~~~~~~~~~~~ main.c:22:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fgets(line, 10, fin); | ^~~~~~~~~~~~~~~~~~~~ main.c:37:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | fgets(nume, 101, fin); | ^~~~~~~~~~~~~~~~~~~~~ main.c:40:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | fgets(line, 10, fin); | ^~~~~~~~~~~~~~~~~~~~ main.c:60:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | fgets(nume, 101, fin); | ^~~~~~~~~~~~~~~~~~~~~ main.c:67:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fgets(line, 10, fin); | ^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb OK 5
2 7 ms 245 kb OK 5
3 267 ms 249 kb OK 5
4 703 ms 249 kb Time limit exceeded 0
5 726 ms 249 kb Time limit exceeded 0
6 4 ms 245 kb OK 5
7 6 ms 241 kb OK 5
8 182 ms 507 kb Memory limit exceeded 0
9 146 ms 249 kb Incorect 0
10 222 ms 245 kb Incorect 0
11 4 ms 507 kb Memory limit exceeded 0
12 8 ms 245 kb Incorect 0
13 4 ms 245 kb Incorect 0
14 93 ms 245 kb Incorect 0
15 93 ms 245 kb Incorect 0
16 58 ms 245 kb Incorect 0
17 711 ms 249 kb Time limit exceeded 0
18 14 ms 245 kb OK 5
19 145 ms 499 kb Memory limit exceeded 0
20 716 ms 249 kb Time limit exceeded 0
Punctaj total 30