Borderou de evaluare (job #826524)

Utilizator avatar DragonulCosmic Nerdvana 5 Calin Dragos Andrei DragonulCosmic IP ascuns
Problemă Brățara (clasele 5/6) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 30 mai 2025 14:51:06 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf (fin, "%d%d", &c, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:10:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf (fin, "%d", &sir); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf (fin, "%d", &sir); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:31:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fscanf (fin, "%d", &line[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:57:9: /usr/include/bits/stdio2.h:111:10: warning: 'ms' 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:6:79: note: 'ms' was declared here 6 | int c, n, sir, cif, i, csir, strk = 1, cnt = 0, j, k = -1, s, d, mk = -1, ms, md; | ^~ In function 'fprintf', inlined from 'main' at main.c:57:9: /usr/include/bits/stdio2.h:111:10: warning: 'md' 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:6:83: note: 'md' was declared here 6 | int c, n, sir, cif, i, csir, strk = 1, cnt = 0, j, k = -1, s, d, mk = -1, ms, md; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 509 ms 770 kb Time limit exceeded 0
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 249 kb OK 10
5 1 ms 249 kb OK 10
6 1 ms 266 kb OK 10
7 1 ms 507 kb Incorect 0
8 509 ms 507 kb Time limit exceeded 0
9 509 ms 528 kb Time limit exceeded 0
10 1 ms 266 kb Incorect 0
Punctaj total 50