Borderou de evaluare (job #793184)

Utilizator avatar EricLare Eric Lare EricLare IP ascuns
Problemă Ucif (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 nov. 2024 18:34:17 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 15 | for(j=1;j<i;j++) | ^~~ main.cpp:17:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17 | s=s+elem%10; | ^ main.cpp:10:24: warning: unused variable 'x' [-Wunused-variable] 10 | int n,s=0,i,j,elem,x; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb OK 10
2 2 ms 245 kb OK 10
3 2 ms 245 kb OK 10
4 2 ms 507 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 507 kb OK 10
Punctaj total 100