Do You Know Da Wae
CodeChefOpen on judge ↗
Chef once met a short red guy who was looking for Da Wae. He had a puzzle which would help him find Da Wae. Given a lattice of dimension $X$x$Y$, Chef starts at co-ordinates $(0,0)$ and needs to go $(X,Y)$. He could only move in 2 directions, right and down. He was given $N$ different right moves and $M$ different down moves. Chef needs to find out the number of ways to reach the des
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