Hi codeforces community,↵
I was solving [problem:1820B] and I got WA when I used s.length()*s.length(), but got AC when I used n*n (but n is the same as s.length()).↵
↵
Is this supposed to happen?↵
↵
↵
[submission:299256114] is the AC code and [submission:299255008] is the other one. Check the second "else if" statement at the end. ↵
I was solving [problem:1820B] and I got WA when I used s.length()*s.length(), but got AC when I used n*n (but n is the same as s.length()).↵
↵
Is this supposed to happen?↵
↵
↵
[submission:299256114] is the AC code and [submission:299255008] is the other one. Check the second "else if" statement at the end. ↵