Need Help
Hello Codeforces.
Today I sumbit almost same 2 codes. But first is WA, second is AC. I don't understand why?
1 code, 2 code.