Borderou de evaluare (job #672512)

Utilizator avatar Stefania12345 Mihailescu Stefania Stefania12345 IP ascuns
Problemă Date (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 28 oct. 2022 21:58:05 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d%d%d%d%d%d",&z1,&l1,&a1,&z2,&l2,&a2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:32:15: warning: iteration 12 invokes undefined behavior [-Waggressive-loop-optimizations] 32 | v[i]=v[i]+v[i-1]; | ~^~~ main.c:31:14: note: within this loop 31 | for(i=1;i<=13;i++) | ~^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb Incorect 0
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb Incorect 0
7 1 ms 114 kb OK 10
8 1 ms 114 kb Incorect 0
9 1 ms 114 kb Incorect 0
10 1 ms 114 kb Incorect 0
Punctaj total 50