Borderou de evaluare (job #798994)

Utilizator avatar Eric_Radavoi Radavoi Eric Andrei Eric_Radavoi IP ascuns
Problemă Ciocolata (clasa a 6-a) Compilator c-32
Rundă Tema 19 Clasa a 6-a Status evaluat
Dată 5 dec. 2024 17:26:51 Scor 80

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:59: warning: unused variable 'min' [-Wunused-variable] 8 | int cer, n, nr, i, j, min1, min2, poz, dr, m, s1, s2, min; /// sper sa nu dea TLE | ^~~ main.c:8:48: warning: unused variable 'm' [-Wunused-variable] 8 | int cer, n, nr, i, j, min1, min2, poz, dr, m, s1, s2, min; /// sper sa nu dea TLE | ^ main.c:8:44: warning: unused variable 'dr' [-Wunused-variable] 8 | int cer, n, nr, i, j, min1, min2, poz, dr, m, s1, s2, min; /// sper sa nu dea TLE | ^~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf (fin, "%d%d", &cer, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:19:14: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf (fin, "%d", &nr); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:41:14: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:34:9: /usr/include/bits/stdio2.h:111:10: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:8:39: note: 'poz' was declared here 8 | int cer, n, nr, i, j, min1, min2, poz, dr, m, s1, s2, min; /// sper sa nu dea TLE | ^~~
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 9 ms 249 kb OK 5
5 28 ms 512 kb OK 5
6 43 ms 139 kb OK 5
7 2 ms 245 kb OK 3
8 1 ms 245 kb OK 3
9 1 ms 245 kb OK 4
10 1 ms 245 kb OK 4
11 2 ms 118 kb OK 4
12 2 ms 245 kb OK 4
13 1 ms 245 kb OK 4
14 1 ms 245 kb OK 4
15 2 ms 122 kb OK 5
16 9 ms 249 kb OK 5
17 9 ms 270 kb OK 5
18 19 ms 266 kb Incorect 0
19 29 ms 512 kb Incorect 0
20 63 ms 765 kb Incorect 0
21 50 ms 507 kb Incorect 0
22 1 ms 245 kb OK 2
23 2 ms 245 kb OK 3
Punctaj total 80