Borderou de evaluare (job #759246)

Utilizator avatar maria.bertolon Nerdvana 7 Maria Bertolon maria.bertolon IP ascuns
Problemă Wind (clasa a 7-a) Compilator c-32
Rundă Tema 18 clasa a 7-a Status evaluat
Dată 29 ian. 2024 17:57:32 Scor 46

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf( fin, "%d%d", &c, &n ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf( fin, "%lld", &sp[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:104:5: /usr/include/bits/stdio2.h:79:10: warning: 'nrd' 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:16: note: 'nrd' was declared here 11 | int c, n, i, nrd, d, nr, maxol, maxogl, s, j, x; | ^~~ In function 'fprintf', inlined from 'main' at main.c:106:5: /usr/include/bits/stdio2.h:79:10: warning: 'maxogl' 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:35: note: 'maxogl' was declared here 11 | int c, n, i, nrd, d, nr, maxol, maxogl, s, j, x; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Pomana (pentru ca un scor de 0p nu arata asa bine ca un scor de 10p) 10
2 49 ms 765 kb OK 4
3 57 ms 1028 kb OK 4
4 1 ms 249 kb OK 4
5 61 ms 1028 kb OK 4
6 9 ms 245 kb OK 4
7 12 ms 245 kb a) incorect; b) incorect 0
8 1 ms 245 kb a) incorect; b) incorect 0
9 26 ms 507 kb a) OK; b) incorect 3
10 1 ms 249 kb a) incorect; b) incorect 0
11 29 ms 774 kb a) incorect; b) incorect 0
12 2 ms 245 kb a) incorect; b) OK 2
13 49 ms 1036 kb a) incorect; b) OK 3
14 53 ms 1294 kb a) incorect; b) incorect 0
15 49 ms 774 kb a) incorect; b) incorect 0
16 48 ms 770 kb a) incorect; b) incorect 0
17 1 ms 245 kb OK 4
18 1 ms 245 kb a) incorect; b) OK 2
19 1 ms 245 kb a) incorect; b) OK 2
20 1 ms 245 kb a) incorect; b) incorect 0
21 1 ms 245 kb a) incorect; b) incorect 0
Punctaj total 46