Borderou de evaluare (job #683985)

Utilizator avatar Tibi201 Enache Tiberiu Mihai Tibi201 IP ascuns
Problemă Matrice Spirală (clasa a 6-a) Compilator c-32
Rundă Tema 13 clasa a 6-a Status evaluat
Dată 22 dec. 2022 22:51:03 Scor 95

Raport evaluator

Compilare: main.c: In function 'main': main.c:23:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 23 | fprintf(fout, "%d ", u - p + c); | ~^ ~~~~~~~~~ | | | | int long long int | %lld main.c:25:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 25 | fprintf(fout, "%d ", u - 2*(lat-1) - (p + c)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long long int | %lld main.c:27:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 27 | fprintf(fout, "%d ", u - 3*(lat-1) - (p + l)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long long int | %lld main.c:29:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 29 | fprintf(fout, "%d ", u - (lat-1) - (p - l)); | ~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | int long long int | %lld main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d%d", &cer, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:35:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | fscanf(fin, "%d%d", &l, &c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 106 kb OK 5
5 9 ms 196 kb OK 5
6 21 ms 180 kb OK 5
7 33 ms 188 kb OK 5
8 53 ms 114 kb OK 5
9 74 ms 155 kb OK 5
10 93 ms 208 kb OK 5
11 1 ms 114 kb OK 5
12 1 ms 114 kb OK 5
13 1 ms 114 kb OK 5
14 1 ms 114 kb OK 5
15 1 ms 114 kb OK 5
16 1 ms 114 kb OK 5
17 1 ms 114 kb OK 5
18 1 ms 114 kb OK 5
19 1 ms 114 kb OK 5
20 1 ms 114 kb OK 5
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 95