Problem5
CodeChefOpen on judge ↗
Pranay went to the sea shore and saw what looked like a treasure chest floating. Examining the locking mechanism, he immediately realized he came across a set of puzzles in FreakoMatix-Axis'10 to reward those who are skilled in the mathematical arts and punish those who are not. There were six dials of the digits 0 through 9 in the puzzle accompanied by a message : "You will be given two positive
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