Number Transform
CodeChefOpen on judge ↗
Problem Description In the world of Mathematics, there are ordinary numbers and there are special numbers. The special numbers are Transformers. The transformers are of two types - Autobots and Decepticons. Autobots have the task of saving the number-kind from the evil intentions of Decepticons. A number C is said to be equivalent to another number D if C%k = D%k, where k is a given parameter.
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