#C. 各位数字总和

    Type: Default 1000ms 128MiB

各位数字总和

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

已知N个(N<=32767)自然数(1,2,...,N)的各位数字的总和数不超过M

输入格式

共一行:整数M

输出格式

最大的N值

样例

二级模拟题

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
6
Start at
2025-3-21 15:30
End at
2025-3-21 17:30
Duration
2 hour(s)
Host
Partic.
0