Facitoo and college
CodeChefOpen on judge ↗
Facitoo is day scholar. He use to take bus for college but is lazy.He wakes up and get 'T' time (in mins) to get the bus. He has 3 possible ways of getting to college.The routes are as follows :- 1. One direct bus '9B' to college. 2. Combination of two buses '8B' till a mid stop and then 'AC2' till college. 3. Driving on his own. If he gets late he will miss attendance of first lecture and he don'
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