Borderou de evaluare (job #642588)

Utilizator avatar mexeea Medeea Mincu mexeea IP ascuns
Problemă Optime (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 20 mar. 2022 20:40:56 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:45:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=] 45 | fprintf(fout, "%ld", sum); | ~~^ ~~~ | | | | | long long int | long int | %lld main.c:13:24: warning: unused variable 'nr' [-Wunused-variable] 13 | long long int sum, nr, d, cd, i; | ^~ main.c:12:23: warning: unused variable 'c' [-Wunused-variable] 12 | int cer, k, x, l, c, n; | ^ main.c:12:20: warning: unused variable 'l' [-Wunused-variable] 12 | int cer, k, x, l, c, n; | ^ main.c:12:17: warning: unused variable 'x' [-Wunused-variable] 12 | int cer, k, x, l, c, n; | ^ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d", &cer); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d", &k); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 35 ms 1294 kb OK 5
2 16 ms 1298 kb OK 5
3 59 ms 1294 kb Incorect 0
4 34 ms 1294 kb OK 5
5 11 ms 1298 kb OK 5
6 53 ms 1298 kb Incorect 0
7 1 ms 118 kb Incorect 0
8 1 ms 118 kb Incorect 0
9 1 ms 118 kb Incorect 0
10 1 ms 118 kb Incorect 0
11 1 ms 118 kb Incorect 0
12 1 ms 118 kb Incorect 0
13 1 ms 118 kb Incorect 0
14 1 ms 118 kb Incorect 0
15 1 ms 118 kb Incorect 0
16 1 ms 118 kb Incorect 0
17 1 ms 114 kb Incorect 0
18 1 ms 114 kb Incorect 0
19 1 ms 118 kb Incorect 0
20 1 ms 118 kb Incorect 0
Punctaj total 20