← All problemsSign in

Minimum Sum

Let's consider a triangle of numbers in which one number appears in the first line, two numbers appear in the second line, three in the third line, four in fourth line etc. Develop a program which will compute the smallest of the sums of numbers that appear on the paths starting from the top towards the base, so that: - on each path the next number is located on the row below, more precisely eith

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start