Borderou de evaluare (job #767181)

Utilizator avatar maria.bertolon Nerdvana 7 Maria Bertolon maria.bertolon IP ascuns
Problemă Pseudocmp (clasa a 7-a) Compilator c-32
Rundă Tema 24 clasa a 7-a Status evaluat
Dată 10 mar. 2024 16:04:47 Scor 75

Raport evaluator

Compilare: main.c: In function 'main': main.c:49:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | fscanf( fin, "%d%d", &c, &n ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:51:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | fscanf( fin, "%d", &v[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:98:7: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 98 | if( a != -1 ) | ^ main.c:45:22: note: 'a' was declared here 45 | int c, n, i, e, j, a, b, k; | ^ In file included from /usr/include/stdio.h:964, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:99:7: /usr/include/bits/stdio2.h:79:10: warning: 'b' 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:45:25: note: 'b' was declared here 45 | int c, n, i, e, j, a, b, k; | ^ In function 'fprintf', inlined from 'main' at main.c:96:5: /usr/include/bits/stdio2.h:79:10: warning: 'nrper' 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:46:13: note: 'nrper' was declared here 46 | long long nrper; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 258 kb OK 5
2 1 ms 258 kb OK 5
3 1 ms 258 kb OK 5
4 9 ms 262 kb Incorect: 982655 985409 0
5 19 ms 262 kb Incorect: 993546 995418 0
6 29 ms 507 kb Incorect: 995464 996418 0
7 39 ms 512 kb Incorect: 996391 996418 0
8 39 ms 532 kb Incorect: 994095 995418 0
9 1 ms 512 kb OK 5
10 1 ms 258 kb OK 5
11 1 ms 258 kb OK 5
12 1 ms 258 kb OK 5
13 1 ms 245 kb OK 5
14 39 ms 520 kb OK 5
15 69 ms 786 kb OK 5
16 69 ms 786 kb OK 5
17 79 ms 1032 kb OK 5
18 79 ms 1052 kb OK 5
19 79 ms 1056 kb OK 5
20 79 ms 1036 kb OK 5
Punctaj total 75