Borderou de evaluare (job #800660)

Utilizator avatar MihaiDraghici MIHAI DRAGHICI MihaiDraghici IP ascuns
Problemă Iepuraș2 (clasa a 5-a) Compilator c-32
Rundă Christmas Gift Status evaluat
Dată 23 dec. 2024 12:20:38 Scor 40

Raport evaluator

Compilare: main.c: In function 'main': main.c:58:27: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 58 | fscanf(fin, "%d", &nr); | ~^ ~~~ | | | | | long long int * | int * | %lld main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d%d", &c, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &nr); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:58:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | fscanf(fin, "%d", &nr); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:69:19: warning: 'cifc' may be used uninitialized [-Wmaybe-uninitialized] 69 | if(nr%10 > cifc){ | ^ main.c:57:27: note: 'cifc' was declared here 57 | long long nr, cifc, a, p, c1, r; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 245 kb OK 4
3 1 ms 245 kb OK 4
4 1 ms 245 kb OK 4
5 1 ms 241 kb OK 4
6 9 ms 200 kb OK 4
7 29 ms 90 kb OK 4
8 129 ms 274 kb OK 4
9 139 ms 245 kb OK 4
10 129 ms 286 kb OK 4
11 1 ms 245 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 1 ms 245 kb Incorect 0
14 1 ms 507 kb Incorect 0
15 1 ms 245 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 1 ms 245 kb Incorect 0
18 1 ms 245 kb Incorect 0
19 1 ms 237 kb Incorect 0
20 19 ms 188 kb Incorect 0
21 219 ms 217 kb Incorect 0
22 229 ms 229 kb Incorect 0
23 237 ms 454 kb Incorect 0
24 219 ms 245 kb Incorect 0
25 229 ms 192 kb Incorect 0
Punctaj total 40