Doraemon Gadgets
CodeChefOpen on judge ↗
Nobita always wants gadgets from Doraemon. Nobita will be happy with Doraemon’s gadgets if they are weirdly awesome gadgets.Each gadget has a unique number X. A gadget with number X is weirdly awesome if X is divisible completely by X distinct unique numbers. Your task is to check whether Nobita is happy with Doraemon’s gadget or not. If Nobita is happy with Doraemon’s gadget print “weirdly a
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