Gửi bài giải
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch
Điểm:
1,00 (OI)
Giới hạn thời gian:
1.0s
Giới hạn bộ nhớ:
256M
Input:
stdin
Output:
stdout
Nguồn bài:
Dạng bài
Ngôn ngữ cho phép
Given a positive integer
Input
- A positive integer
( ).
Output
- The smallest positive integer whose sum of digits equals
.
Sample Input
Copy
10
Sample Output
Copy
19
Bình luận