Borderou de evaluare (job #811463)

Utilizator avatar Gavriliu.Adam Adam Gavriliu Robert Gavriliu.Adam IP ascuns
Problemă Vânătoare ( clasa a 6-a) Compilator c-32
Rundă Simulare OJI clasa a 6-a 2025 Status evaluat
Dată 25 feb. 2025 10:34:30 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d%d", &ka, &kb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:38:16: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 38 | a = a - (2 * x); | ~~~^~~~ main.c:8:26: note: 'x' was declared here 8 | int ka, kb, r, a, n, x, y; | ^ main.c:39:16: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 39 | n = n - (2 * y) + (x * 2) - 2; | ~~~^~~~ main.c:8:29: note: 'y' was declared here 8 | int ka, kb, r, a, n, x, y; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb Incorect 0
2 4 ms 245 kb Incorect 0
3 4 ms 245 kb Incorect 0
4 4 ms 245 kb Incorect 0
5 4 ms 245 kb Incorect 0
6 4 ms 245 kb Incorect 0
7 4 ms 245 kb Incorect 0
8 4 ms 245 kb Incorect 0
9 4 ms 245 kb Incorect 0
10 4 ms 245 kb Incorect 0
Punctaj total 0