Problems
Queue
Competitions
Ranking
Articles
Signup
Signin
bolt
Try our new interface for solving problems
Try
Problems
Оплатити покупку без решти
Statement
Solutions
Statistics
Discussion
Оплатити покупку без решти
Див. українську версію.
Time limit
1
second
Memory limit
64
MiB
Input example #1
content_copy
15 2 3
Output example #1
content_copy
3
Numbers with different digits
Minimum number