Pair Stones
CodeChefOpen on judge ↗
Joe has found a strange stone on his way back home. At night he had a strange dream. He was on a mountain, on front of his were rows and columns of strange stones, in sequence smaller to bigger both along row and columns in a square.A mystic voice called out 'Can you find out the stone of the same size as yours, if you do your's is a powerful magic Pair Stone!! Joe was standing in the corner
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