Akshats Vacay
CodeChefOpen on judge ↗
Akshat being a very busy person needs some relaxation. So he asked his friend Trivedi to plan a trip of **n days** for him. Akshat likes the cities **A,B,C,D** only so he would visit them only. Akshat leaves a city exactly after completion of a day and he can **stay back in a city for more than one day and visit any city multiple number of times** in these n days.But Akshat doesn't like to **visit
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