Borderou de evaluare (job #774307)

Utilizator avatar RaMiDra Dragulescu Rares Mihai RaMiDra IP ascuns
Problemă Copii (clasa a 5-a) Compilator c-32
Rundă Tema 38 Clasa a 5-a Status evaluat
Dată 14 apr. 2024 20:19:34 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:64:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 64 | fprintf(fout, "%d", prod); | ~^ ~~~~ | | | | int long long int | %lld main.c:13:74: warning: unused variable 'ci' [-Wunused-variable] 13 | long long c, x, y, z, d, i, div, maxim, p10, k, prod, cnt, cp10, ck, ci, maxdiv; | ^~ main.c:13:33: warning: unused variable 'div' [-Wunused-variable] 13 | long long c, x, y, z, d, i, div, maxim, p10, k, prod, cnt, cp10, ck, ci, maxdiv; | ^~~ main.c:13:24: warning: unused variable 'z' [-Wunused-variable] 13 | long long c, x, y, z, d, i, div, maxim, p10, k, prod, cnt, cp10, ck, ci, maxdiv; | ^ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf( fin, "%lld", &c); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf( fin, "%lld%lld", &x, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:68:8: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | fscanf(fin, "%lld", &y); | ^~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 2
2 1 ms 245 kb OK 2
3 1 ms 245 kb OK 2
4 18 ms 245 kb OK 5
5 79 ms 249 kb OK 5
6 119 ms 249 kb OK 8
7 29 ms 249 kb OK 8
8 88 ms 245 kb OK 8
9 1 ms 245 kb OK 3
10 1 ms 245 kb OK 3
11 1 ms 245 kb OK 3
12 1 ms 245 kb OK 3
13 1 ms 245 kb OK 4
14 3 ms 245 kb OK 4
15 198 ms 245 kb OK 5
16 39 ms 245 kb OK 5
17 49 ms 249 kb OK 5
18 59 ms 245 kb OK 5
19 79 ms 249 kb OK 10
20 69 ms 245 kb OK 10
Punctaj total 100