dextrous's blog

By dextrous, 9 years ago, In English

Can someone explain the approach to the solution of the problem http://codeforces.me/contest/295/problem/C. I've gone through the editorial but it isn't very explanatory.

Full text and comments »

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

By dextrous, 10 years ago, In English

I tried to hack the solution http://codeforces.me/contest/548/submission/11295460 using the hack http://codeforces.me/contest/548/hacks/155602/test but it was unsuccesful .

I am unable to understand that despite being a O(n*m*q) solution, how the solution passed the hack but eventually got TLE on a system test?

Full text and comments »

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