Borderou de evaluare (job #602179)

Utilizator avatar ghica_amalia Ghica Amalia ghica_amalia IP ascuns
Problemă Compus (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 20 iul. 2021 11:14:59 Scor 100

Raport evaluator

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