Borderou de evaluare (job #601927)

Utilizator avatar carinabrebenaru Carina Brebenaru carinabrebenaru IP ascuns
Problemă Cifre 4 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 iul. 2021 13:49:49 Scor 100

Raport evaluator

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