Borderou de evaluare (job #597900)

Utilizator avatar guzgandemunte Ionescu Laura guzgandemunte IP ascuns
Problemă Păpușa (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 mai 2021 19:05:51 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 30 | for (i=2;i<=n/2;i++) v[i-1]=v[i]; v[n/2]=aux; | ^~~ main.cpp:30:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 30 | for (i=2;i<=n/2;i++) v[i-1]=v[i]; v[n/2]=aux; | ^ main.cpp:32:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 32 | for (i=n;i>=n/2+2;i--) v[i]=v[i-1]; v[n/2+1]=aux; | ^~~ main.cpp:32:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 32 | for (i=n;i>=n/2+2;i--) v[i]=v[i-1]; v[n/2+1]=aux; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 1 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 1 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 1 ms 262 kb OK 10
Punctaj total 100