D2 - Ab Humse Cowding bhi nii hori hai (Hard)
CodeChefOpen on judge ↗
$The \ only \ difference \ between \ easy \ and \ hard \ versions \ is \ constraints$ Praveen likes travelling a lot. He always plans a vacation whenever he gets time. Being a rich guy, Praveen can afford any of the modes of transport, i.e. roadways, railways, airways. This time Praveen has a lot of extra money which he want to spend. So he decided he will travel from a town $A$ to a town $B$ i
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