Borderou de evaluare (job #631727)

Utilizator avatar Mitrut_Sebeni Mitrut Sebeni Gabriel Mitrut_Sebeni IP ascuns
Problemă Comune (clasa a 5-a) Compilator cpp-32
Rundă vaslui_cls6_10.02 Status evaluat
Dată 10 feb. 2022 20:12:26 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 17 | if(copie1%10==i) | ^~ main.cpp:19:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 19 | copie1=copie1/10; | ^~~~~~ main.cpp:23:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if(copie2%10==i) | ^~ main.cpp:25:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 25 | copie2=copie2/10; | ^~~~~~ main.cpp:27:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 27 | if(cnt1!=0 && cnt2!=0) | ^ main.cpp:7:19: warning: unused variable 'cnt' [-Wunused-variable] 7 | long long m,n,cnt=0,copie1,copie2,cnt1,cnt2,s=0; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 114 kb OK 10
9 1 ms 114 kb OK 10
10 1 ms 114 kb OK 10
Punctaj total 100