LUCKY DAY OR NOT
CodeChefOpen on judge ↗
David is a very superstitious person. He judges whether his next day will be lucky or unlucky based on the numbers he has seen on the current day. If the sum of the numbers is 13 or it's positive multiple then he thinks he will have a lucky day else he thinks he is going to have an unlucky day. Help David find out whether his next day will be lucky or unlucky. ### Input - First line will contain
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