Borderou de evaluare (job #683984)

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:50:10 Scor 50

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 int' [-Wformat=] 23 | fprintf(fout, "%d ", u - p + c); | ~^ ~~~~~~~~~ | | | | int long int | %ld main.c:25:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 25 | fprintf(fout, "%d ", u - 2*(lat-1) - (p + c)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld main.c:27:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 27 | fprintf(fout, "%d ", u - 3*(lat-1) - (p + l)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld main.c:29:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 29 | fprintf(fout, "%d ", u - (lat-1) - (p - l)); | ~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld main.c:46:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] 46 | fprintf(fout, "%lld", u - p + c); | ~~~^ ~~~~~~~~~ | | | | | long int | long long int | %ld main.c:48:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] 48 | fprintf(fout, "%lld", u - 2*(lat-1) - (p + c)); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int long int | %ld main.c:50:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] 50 | fprintf(fout, "%lld", u - 3*(lat-1) - (p + l)); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int long int | %ld main.c:52:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] 52 | fprintf(fout, "%lld", u - (lat-1) - (p - l)); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long long int long int | %ld
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 1 ms 106 kb OK 5
6 20 ms 188 kb OK 5
7 33 ms 167 kb OK 5
8 48 ms 155 kb OK 5
9 71 ms 159 kb OK 5
10 83 ms 131 kb OK 5
11 1 ms 114 kb Incorect 0
12 1 ms 114 kb Incorect 0
13 1 ms 114 kb Incorect 0
14 1 ms 114 kb Incorect 0
15 1 ms 114 kb Incorect 0
16 1 ms 114 kb Incorect 0
17 1 ms 114 kb Incorect 0
18 1 ms 114 kb Incorect 0
19 1 ms 114 kb Incorect 0
20 1 ms 114 kb Incorect 0
Punctaj total 50