Borderou de evaluare (job #611142)

Utilizator avatar Gabrielaciornea Gabriela Ciornea Gabrielaciornea IP ascuns
Problemă Prime (clasa a 5-a) Compilator cpp-32
Rundă lasm_19_10_2021_clasa12 Status evaluat
Dată 19 oct. 2021 14:31:33 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 18 | for(i=d*d; i<=3000000; i+=d) | ^~~ main.cpp:20:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 20 | for(i=1; i<=3000000; i++) | ^~~ main.cpp:11:17: warning: unused variable 'k' [-Wunused-variable] 11 | int m,i,x,n,k,d,j=0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 135 ms 3665 kb OK 10
2 137 ms 3801 kb OK 10
3 136 ms 3928 kb OK 10
4 139 ms 4059 kb OK 10
5 140 ms 4059 kb OK 10
6 138 ms 4059 kb OK 10
7 139 ms 4063 kb OK 10
8 138 ms 3796 kb OK 10
9 136 ms 3796 kb OK 10
10 136 ms 3796 kb OK 10
Punctaj total 100