Borderou de evaluare (job #594545)

Utilizator avatar ghica_amalia Ghica Amalia ghica_amalia IP ascuns
Problemă Cifre comune (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 apr. 2021 11:30:41 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 18 | if((n % 10) == (m % 10)) | ^~ main.cpp:20:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 20 | if((n / 10 % 10) == (m % 10)) | ^~ main.cpp:13:15: warning: variable 'cn' set but not used [-Wunused-but-set-variable] 13 | int n, m, cn = 0, cm = 0, cnt = 0; | ^~ main.cpp:13:23: warning: variable 'cm' set but not used [-Wunused-but-set-variable] 13 | int n, m, cn = 0, cm = 0, cnt = 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 Incorect 0
5 1 ms 262 kb Incorect 0
6 1 ms 262 kb Incorect 0
7 1 ms 262 kb Incorect 0
8 1 ms 262 kb Incorect 0
9 1 ms 262 kb Incorect 0
10 1 ms 262 kb OK 10
Punctaj total 20