Borderou de evaluare (job #700316)

Utilizator avatar Alex__balan Alexandru balan Alex__balan IP ascuns
Problemă Date (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 mar. 2023 11:19:41 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 24 | for ( i = 2; i < LUNI_PE_AN; i++ ) | ^~~ main.cpp:26:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 26 | fin>>z1>>l1>>a1>>z2>>l2>>a2; | ^~~ main.cpp:25:17: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations] 25 | zileLuni[i] += zileLuni[i-1]; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp:24:18: note: within this loop 24 | for ( i = 2; i < LUNI_PE_AN; i++ ) | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb OK 10
10 1 ms 245 kb Incorect 0
Punctaj total 30