Borderou de evaluare (job #813062)

Utilizator avatar coldsh_1 Marcovici Andrei coldsh_1 IP ascuns
Problemă Alarma (clasa a 6-a) Compilator c-32
Rundă Simulare 2 OJI clasa a 6-a 2025 Status evaluat
Dată 7 mar. 2025 10:11:06 Scor 4

Raport evaluator

Compilare: main.c: In function 'main': main.c:19:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin, "%d%d", &a[i], &b[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:22:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:53:5: /usr/include/bits/stdio2.h:111:10: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:15:28: note: 'poz' was declared here 15 | int i, j, min = P*100, poz, x, x1, x2, i1, i2, uc, nr, cnt; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb a) rezultat incorect; b) rezultat incorect 0
2 1 ms 245 kb a) rezultat incorect; b) rezultat incorect 0
3 1 ms 266 kb a) rezultat incorect; b) rezultat incorect 0
4 2 ms 245 kb a) rezultat incorect; b) rezultat incorect 0
5 1 ms 245 kb a) rezultat incorect; b) rezultat incorect 0
6 1 ms 245 kb a) rezultat incorect; b) rezultat incorect 0
7 2 ms 245 kb a) rezultat incorect; b) rezultat incorect 0
8 2 ms 245 kb a) OK; b) rezultat incorect 4
9 1 ms 245 kb a) rezultat incorect; b) rezultat incorect 0
10 1 ms 245 kb a) rezultat incorect; b) rezultat incorect 0
Punctaj total 4