← All problemsSign in

Anurag and KOSHISH

Anurag is a Mathematics teacher at KOSHISH. KOSHISH is a community of the students of KNIT Sultanpur helping the underprivileged children of the villages in the vicinity of the college campus by educating them free of cost and giving them one less reason to be regretful of their life. One day, he introduces those little children with Prime Numbers. They learned that prime numbers are those which

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