Borderou de evaluare (job #786970)

Utilizator avatar coldsh_1 Marcovici Andrei coldsh_1 IP ascuns
Problemă Lego (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 18 sept. 2024 19:31:14 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:23:12: warning: 'max_piese' may be used uninitialized [-Wmaybe-uninitialized] 23 | if (pc > max_piese) | ^ main.c:10:23: note: 'max_piese' was declared here 10 | int n, d, dm, pc, max_piese; | ^~~~~~~~~ In file included from /usr/include/stdio.h:980, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:30:5: /usr/include/bits/stdio2.h:79:10: warning: 'dm' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:10:15: note: 'dm' was declared here 10 | int n, d, dm, pc, max_piese; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 19 ms 266 kb Incorect 0
3 459 ms 512 kb Time limit exceeded 0
4 459 ms 249 kb Time limit exceeded 0
5 459 ms 249 kb Time limit exceeded 0
6 459 ms 270 kb Time limit exceeded 0
7 459 ms 270 kb Time limit exceeded 0
8 459 ms 270 kb Time limit exceeded 0
9 459 ms 270 kb Time limit exceeded 0
10 459 ms 249 kb Time limit exceeded 0
Punctaj total 0