Walter and His Customers
CodeChefOpen on judge ↗
Walter is the best in making crystals and due to which his crystal’s popularity grew. It grew so much that it was not enough for everyone. So Jesse gave a unique number to all the customers and thought that whose number is divisible by 2 and by 3 are eligible to buy their product. But if the unique number is divisible by 5, then that customer is not eligible to buy his product. Walter and Jess
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