Chef and Special Number
CodeChefOpen on judge ↗
Chef teaches in a school . Chef is very fond of numbers so he decides to give his class a task The task is very simple , chef considers a number to be a CHEF SPECIAL NUMBER if all the digits in the number when added together is divisible by the number of digits present. If a student comes up with such a number Chef Compliments "Good work" If a student comes up with a number and it doesn't fulf
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