Блог пользователя Mr.Doap

Автор Mr.Doap, история, 4 года назад, По-английски

My solution seems to be the same solution as the authors but I am getting a WA.Both the solution and my codes seem to be similar Somebody please help me out in figuring the error in my submission

Here is a link to my submission: https://codeforces.com/contest/1401/submission/90597120

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится +2 Проголосовать: не нравится

you are sorting the vector res after taking mod.