Блог пользователя darth_chef

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

Problem: https://mirror.codeforces.com/contest/1355/problem/B

My solution: https://mirror.codeforces.com/contest/1355/submission/80313155

This uses the same logic as used in the editorial. Can someone explain why I got the TLE verdict?

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