Borderou de evaluare (job #734902)

Utilizator avatar Bla1234 Nerdvana 7 Sercaianu Mihai Bla1234 IP ascuns
Problemă Selecţie (clasa a 6-a) Compilator c-32
Rundă Tema 2 clasa a 7-a Status evaluat
Dată 1 oct. 2023 18:06:53 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf( fin, "%d%d", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf( fin, "%d", &v[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:45:3: /usr/include/bits/stdio2.h:79:10: warning: 'rez' 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:12:30: note: 'rez' was declared here 12 | int p, n, k, i, st, dr, j, rez; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 49 ms 512 kb OK 10
5 52 ms 663 kb Killed by Signal 11 0
6 50 ms 651 kb Killed by Signal 11 0
7 49 ms 524 kb Killed by Signal 11 0
8 49 ms 524 kb Killed by Signal 11 0
9 49 ms 507 kb Killed by Signal 11 0
10 51 ms 647 kb Killed by Signal 11 0
Punctaj total 30