v01d And Usernames
CodeChefOpen on judge ↗
v01d has accounts on multiple websites and hence to aid his memory he wants to have a consistent unique username across all websites. His friend, Jagreet, told him that the number $N$ is a lucky number. v01d as such is confused about his username, and therefore he wants to have an username in the format **v01d#D** where $D$ is a positive integer which bears a peculiar relation to $N$ as follows :
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