#1572. C++-循环while-输入k,计算出一个最小的n,使得Sn>k
C++-循环while-输入k,计算出一个最小的n,使得Sn>k
Background
Description
C++-循环while-输入k,计算出一个最小的n,使得Sn>k
Format
Input
Output
Samples
1
2
3
11
15
1835421
Limitation
1s, 1024KiB for each test case.
C++-循环while-输入k,计算出一个最小的n,使得Sn>k
1
2
3
11
15
1835421
1s, 1024KiB for each test case.
By signing up a PaiBlockly编程创客平台图形模块编程软件系统 universal account, you can submit code and join discussions in all online judging services provided by us.