CYLINDER TLE

c-plus-plus
codechef
time-limit

#1

Here is the code to this problem.

Why am I getting TLE?


#2

You can use faster I/O. scanf can be used in this problem.