Borderou de evaluare (job #814796)

Utilizator avatar DianaVirgolici Virgolici Diana-Maria DianaVirgolici IP ascuns
Problemă Maxconcat (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 mar. 2025 14:33:45 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:19:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin, "%d", &nr); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:51:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:24:19: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 24 | s = s + 1; | ~~^~~~~~~ main.c:7:18: note: 's' was declared here 7 | int n, a, i, s, b, max, nr; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 270 kb Incorect 0
7 19 ms 245 kb Incorect 0
8 24 ms 118 kb OK 10
9 69 ms 245 kb OK 10
10 39 ms 249 kb OK 10
Punctaj total 30