Zacle07's blog

By Zacle07, history, 9 years ago, In English

Hello everyone I take a considerable time to understand a problem and this might take me 20 to 30 minutes. So I want to know how and what do you do to understand a given problem quickly and the way to tackle them?

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

»
9 years ago, hide # |
← Rev. 2  
Vote: I like it +11 Vote: I do not like it

There are few things to consider while reading a problem.

  1. Understanding what is required to be calculated.
  2. Focus on the constraints.
  3. Focus on the time limit.
  4. Select appropriate algorithm to solve it successfully within the specified time limit.

Generally for n=1e6- O(nlogn), O(n) is required and for n<=5e3 O(n^2) is okay. Finally after deciding all these things. Start writing your code fast and bug free.

»
9 years ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

I guess it comes with practice. You can try virtual contests on Codeforces tom improve your speed. All the best :)