Borderou de evaluare (job #774187)

Utilizator avatar diana13 serafim diana diana13 IP ascuns
Problemă Cifre 4 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 apr. 2024 13:29:43 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 21 | { if(cn1%10==0||cn1%10==4||cn1%10==9||cn1%10==1) | ^~ main.cpp:23:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 23 | cn1=cn1/10; | ^~~ main.cpp:8:11: warning: unused variable 'i' [-Wunused-variable] 8 | int n,i,cc,cm=0,contor=0,cn,nd,ndm=9,cn1,cn2; | ^ main.cpp:8:30: warning: unused variable 'cn' [-Wunused-variable] 8 | int n,i,cc,cm=0,contor=0,cn,nd,ndm=9,cn1,cn2; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 507 kb OK 10
2 1 ms 245 kb OK 10
3 2 ms 245 kb OK 10
4 2 ms 245 kb OK 10
5 2 ms 245 kb OK 10
6 2 ms 245 kb OK 10
7 1 ms 507 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100