Borderou de evaluare (job #758317)

Utilizator avatar Tibi201 Enache Tiberiu Mihai Tibi201 IP ascuns
Problemă Wind (clasa a 7-a) Compilator c-32
Rundă Concurs 04 | IQ Academy | clasa a 7-a Status evaluat
Dată 27 ian. 2024 16:38:25 Scor 80

Raport evaluator

Compilare: main.c: In function 'main': main.c:64:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 64 | fprintf(fout, "%d %d", n/maxk, maxp+1); | ~^ ~~~~~~ | | | | int long long int | %lld main.c:74:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 74 | fprintf(fout, "%d", max); | ~^ ~~~ | | | | int long long int | %lld main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d%d", &c, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Pomana (pentru ca un scor de 0p nu arata asa bine ca un scor de 10p) 10
2 49 ms 1298 kb OK 4
3 59 ms 1298 kb OK 4
4 1 ms 249 kb OK 4
5 65 ms 1556 kb OK 4
6 9 ms 245 kb OK 4
7 10 ms 507 kb a) OK; b) incorect 3
8 2 ms 245 kb a) OK; b) incorect 3
9 19 ms 774 kb a) OK; b) incorect 3
10 1 ms 249 kb a) OK; b) incorect 3
11 39 ms 1032 kb a) OK; b) incorect 2
12 1 ms 245 kb OK 5
13 69 ms 1290 kb OK 5
14 49 ms 1298 kb a) OK; b) incorect 2
15 59 ms 1294 kb a) OK; b) incorect 2
16 49 ms 1298 kb a) OK; b) incorect 2
17 1 ms 245 kb OK 4
18 2 ms 245 kb OK 4
19 1 ms 245 kb OK 4
20 1 ms 245 kb OK 4
21 1 ms 245 kb OK 4
Punctaj total 80