← All problemsSign in

Political Game

Problem Description The C Plus International (CPI) and C Plus International [Mathematicians] (CPI M) have always been against each other. CPI this time around wants to show the people that even they have high maths skills like CPI M. The people of the country try to test this new skill of the party with a simple problem. The problem is as follows : Given two numbers N and P the problem asks to f

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