← All problemsSign in

Phineas and Ferb

Problem description Phineas had 100 cards with him, and each card is given a unique number between 1-100(inclusive). Once he lost 75 cards from the deck. With the left cards, he observed something strange that the numbers on them were prime. Now he still wants to play a card game with his friend Ferb. So they start giving a task to each other that, Ferb will give a number (between 1-200) and Phin

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