LAST DIGIT
CodeChefOpen on judge ↗
Conscientia is organizing Alpha Geek, The Jack of all Subjects- An event to test the ability of a person to handle basic problems thereby proving your geekiness. Chef was interested in participating in the competition. The prelims round requires Chef to do a basic mathematical question. The Chef realized that it will be done easily with the help of coding. He approaches you for the help. The ch
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