← All problemsSign in

DETECTIVE KILLUA TO DECODE

Killua really need to decipher a message that contains a composite number as a detective. All divisors of c, which are greater than 1, are placed in a circle. Killua can choose the initial order of numbers in the circle. In one move he can choose two adjacent numbers in a circle and insert their L.C.M between them. He can do that move as many times as needed. The message is decrypted, if every

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