How to understand the core problem from long verbose descriptions of questions?


#1

I am usually good at leetcode coz they directly ask us to code for a problem. But at codechef with problem explained as a story, I am not able to get the gist of the problem in less time. Sometimes, I don’t even get it. While if I am given clear input-output and easy straightforward description, I can solve the question very quickly.
What can I do to improve this?


#2

This is a step towards what they call “real life”, where the specifications are only partially known and the coding is overlaid by a lot of work to understand what the actual problem is. Stick at it, and don’t be overly concerned about failing, because reviewing your failures is often how you can improve.


#3

Thanks @joffan


#4

https://codeforces.com/blog/entry/62730

This might help you (and others). :slight_smile: