Editorial solution is wrong

the editorial solution has a lot of syntax mistakes and missing statements please see to it

hello @Ishitagambhir
u can check solutions here (see standings ) ->
https://codeforces.com/problemset/problem/230/B