darth_chef's blog

By darth_chef, history, 4 years ago, In English

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?

  • Vote: I like it
  • +5
  • Vote: I do not like it