← All problemsSign in

MCL PHASE 1 CHALLENGE 202

Minnu is studying in class 3rd and has to do a lot of homework. Her current math topic is about finding prime factors. As her brother/sister you have had to help many times in the past and now it is getting tiresome. Help yourself from the struggle writing a program to find all the prime factors of an inputed number? note: if the number is 0 or negative display -1 ###Input: input is a sin

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