Borderou de evaluare (job #728742)

Utilizator avatar Tibi201 Enache Tiberiu Mihai Tibi201 IP ascuns
Problemă Matrice Spirală (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 aug. 2023 14:04:39 Scor 100

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 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 237 kb OK 5
5 1 ms 229 kb OK 5
6 19 ms 282 kb OK 5
7 29 ms 163 kb OK 5
8 39 ms 299 kb OK 5
9 59 ms 303 kb OK 5
10 79 ms 303 kb OK 5
11 1 ms 245 kb OK 5
12 1 ms 245 kb OK 5
13 1 ms 245 kb OK 5
14 1 ms 245 kb OK 5
15 1 ms 245 kb OK 5
16 1 ms 245 kb OK 5
17 1 ms 245 kb OK 5
18 1 ms 241 kb OK 5
19 1 ms 245 kb OK 5
20 1 ms 245 kb OK 5
Punctaj total 100