The Speed Limit
CodeChefOpen on judge ↗
Chef is travelling to the nearest cricket stadium to watch his favourite team play. Unfortunately for him, he is running late. The road to the stadium has a speed limit $L$ km/h. If Chef is $D$ kms away from the stadium, find whether he can reach the stadium in $H$ hours, if he cannot travel faster than the speed limit. ### Input: - First line of input contains the number of test cases $T$. Then
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start