Distorted Pascal Triangle
CodeChefOpen on judge ↗
Richard being a Civil Engineering student was not that interested in Computer Science but the one thing that he loved was Pascal's Triangle and he had one such Triangle in his room. However Erlich came to his room and created havoc by making the number at i'th row and j'th column (1 indexed) of the Pascal's triangle zero. He chose i and j such that there was always a number at that position. This
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