EulerJi's blog

By EulerJi, history, 2 months ago, In English

I have always wondered how can one quickly solve such cases. Can you guys share your insight. How to solve implementation problems so quickly?

Here is one such problem

https://www.codechef.com/problems/CEILSUM

 
 
 
 
  • Vote: I like it
  • -3
  • Vote: I do not like it

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I don’t think its implementation problem. More like basic understanding puzzle. It doesn’t require anything except understanding of division and basic odd/even properties.

»
2 months ago, # |
  Vote: I like it +3 Vote: I do not like it

You may run a loop between A To B , i.e , A <= X <= B , which helps you to get the value of X . Just write a testing code and run it , get the clue and Implement this clue in your solution .