Borderou de evaluare (job #594565)

Utilizator avatar daria_diaconu Diaconu Daria daria_diaconu IP ascuns
Problemă Cifre comune (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 apr. 2021 12:11:48 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 33 | if((n % 10) == (m % 10)) | ^~ main.cpp:35:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 35 | n = n / 10; | ^ main.cpp:10:24: warning: variable 'cn' set but not used [-Wunused-but-set-variable] 10 | int n, m, cnt = 0, cn = 0, cm = 0; | ^~ main.cpp:10:32: warning: variable 'cm' set but not used [-Wunused-but-set-variable] 10 | int n, m, cnt = 0, cn = 0, cm = 0; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb Incorect 0
2 1 ms 262 kb OK 10
3 1 ms 262 kb Incorect 0
4 1 ms 262 kb OK 10
5 1 ms 262 kb Incorect 0
6 1 ms 262 kb Incorect 0
7 1 ms 262 kb OK 10
8 1 ms 262 kb Incorect 0
9 1 ms 262 kb Incorect 0
10 1 ms 262 kb OK 10
Punctaj total 40