Borderou de evaluare (job #847835)

Utilizator avatar Mihai___9002 Ghetu Mihai Anton Mihai___9002 IP ascuns
Problemă Compus (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 6 ian. 2026 15:09:42 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 20 | for (int j = i; j < n - 1; j ++) | ^~~ main.cpp:22:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 22 | n --; | ^ main.cpp:11:31: warning: unused variable 'ok' [-Wunused-variable] 11 | int n, e, p, a[10005], k, ok = 1, x; | ^~ main.cpp:11:39: warning: unused variable 'x' [-Wunused-variable] 11 | int n, e, p, a[10005], k, ok = 1, x; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 292 kb OK 10
2 1 ms 292 kb OK 10
3 1 ms 508 kb OK 10
4 1 ms 508 kb OK 10
5 1 ms 292 kb OK 10
6 1 ms 508 kb OK 10
7 1 ms 504 kb OK 10
8 2 ms 276 kb OK 10
9 2 ms 492 kb OK 10
10 2 ms 276 kb OK 10
Punctaj total 100