Thapar Maze
CodeChefOpen on judge ↗
This year in Thapar, we introduce a new Maze race. There is a big maze of N*N, where you start from (1,1) and the goal is to reach (N,N) position. The rule says that you can only move either right or down. Also at every position there are some hurdles of different difficulty levels C. You want to minimize the total difficulty of the route that you will take to reach your goal. Input The first li
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