Funny Number
CodeChefOpen on judge ↗
Problem Duda is very funny guy in UVCE and recently he found a new kind of numbers. He calls those numbers as funny numbers. Duda says that funny number is numbers which has prime number of prime factors. For Example : prime factors of number 6 are 3 and 2, so 6 has 2 prime factors and 2 is a prime number, so 6 is a funny number. similarly prime factors of number 8 is 2, so 8 has only one prim
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