#P1035. [NOIP 2002 普及组] 级数求和
[NOIP 2002 普及组] 级数求和
Description
Given: . It is obvious that for any integer , when is sufficiently large, . Given an integer , compute the smallest such that .
Input Format
A positive integer .
Output Format
A positive integer .
1
2
Hint
【Constraints】 For of the testdata, .
【Source】 NOIP 2002 Junior, Problem 1.
Translated by ChatGPT 5
京公网安备 11011102002149号