Santosh and yoga
CodeChefOpen on judge ↗
Santosh does yoga every morning and that is the secret behind his concentration level. But one fine day his friend Kishore gave him a problem to solve. He gave Santosh a number N. This represented a table of N rows. The first row contains number from 1 to N. Then the next line contains N-1 numbers. In the second row, the first number is the summation of the first two numbers of the previous row, t
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