Borderou de evaluare (job #721639)

Utilizator avatar comanandrei Coman Andrei comanandrei IP ascuns
Problemă Tablou2 (clasa a 8-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 25 mai 2023 19:01:31 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &cer); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:15:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d%d\n", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d\n", &val); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:36:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | fscanf(fin, "%d%d", &n, &z); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:44:7: /usr/include/bits/stdio2.h:79:10: warning: 'minim_operatii' 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:11:36: note: 'minim_operatii' was declared here 11 | int cer, n, k, z, nr_pozitive, minim_operatii, index, val, lin, col; | ^~~~~~~~~~~~~~ In function 'fprintf', inlined from 'main' at main.c:41:7: /usr/include/bits/stdio2.h:79:10: warning: 'nr_pozitive' 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:11:23: note: 'nr_pozitive' was declared here 11 | int cer, n, k, z, nr_pozitive, minim_operatii, index, val, lin, col; | ^~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb OK 5
4 59 ms 245 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 249 kb OK 5
7 99 ms 249 kb Incorect 0
8 109 ms 249 kb Time limit exceeded 0
9 109 ms 249 kb Time limit exceeded 0
10 109 ms 249 kb Time limit exceeded 0
11 1 ms 245 kb OK 5
12 1 ms 245 kb Incorect 0
13 1 ms 266 kb Incorect 0
14 1 ms 245 kb Incorect 0
15 1 ms 245 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 1 ms 245 kb Incorect 0
18 1 ms 245 kb Incorect 0
19 1 ms 245 kb Incorect 0
20 1 ms 245 kb Incorect 0
Punctaj total 30