luogu#P1035. [NOIP 2002 普及组] 级数求和
[NOIP 2002 普及组] 级数求和
题目描述
Given: . It is obvious that for any integer , when is sufficiently large, . Given an integer , compute the smallest such that .
输入格式
A positive integer .
输出格式
A positive integer .
说明 / 提示
【Constraints】 For of the testdata, .
【Source】 NOIP 2002 Junior, Problem 1.
Translated by ChatGPT 5
样例 1
输入
1
输出
2