Borderou de evaluare (job #836225)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Expresie3 (clasa a 9-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 14 oct. 2025 19:46:12 Scor 15

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin,"%d",&e); | ^~~~~~~~~~~~~~~~~~~ main.c:32:19: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 32 | s += max1 + max - a - b - a1 - b1; | ~~~~~~~~~~~^~~ main.c:10:22: note: 'a' was declared here 10 | int n,e,s = 0,i,pe,a,b,a1,b1,max = 0,max1 = 0; | ^ main.c:32:23: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] 32 | s += max1 + max - a - b - a1 - b1; | ~~~~~~~~~~~~~~~^~~ main.c:10:24: note: 'b' was declared here 10 | int n,e,s = 0,i,pe,a,b,a1,b1,max = 0,max1 = 0; | ^ main.c:32:27: warning: 'a1' may be used uninitialized [-Wmaybe-uninitialized] 32 | s += max1 + max - a - b - a1 - b1; | ~~~~~~~~~~~~~~~~~~~^~~~ main.c:10:26: note: 'a1' was declared here 10 | int n,e,s = 0,i,pe,a,b,a1,b1,max = 0,max1 = 0; | ^~ main.c:32:32: warning: 'b1' may be used uninitialized [-Wmaybe-uninitialized] 32 | s += max1 + max - a - b - a1 - b1; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.c:10:29: note: 'b1' was declared here 10 | int n,e,s = 0,i,pe,a,b,a1,b1,max = 0,max1 = 0; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 296 kb OK 5
2 0 ms 296 kb Incorect 0
3 0 ms 296 kb Incorect 0
4 0 ms 296 kb Incorect 0
5 0 ms 296 kb OK 5
6 1 ms 512 kb Incorect 0
7 0 ms 296 kb Incorect 0
8 1 ms 296 kb Incorect 0
9 1 ms 512 kb Incorect 0
10 1 ms 512 kb OK 5
11 1 ms 512 kb Incorect 0
12 2 ms 296 kb Incorect 0
13 3 ms 296 kb Incorect 0
14 5 ms 512 kb Incorect 0
15 6 ms 512 kb Incorect 0
16 12 ms 296 kb Incorect 0
17 13 ms 296 kb Incorect 0
18 14 ms 296 kb Incorect 0
19 16 ms 512 kb Incorect 0
20 17 ms 296 kb Incorect 0
Punctaj total 15