HUSTOJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
ContestProblemSetList
Login
Register
Problem F: 求恰好使s=1+1/2+1/3+…+1/n的值大于1.9时n的值
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:22
Solved:15
Return to contest
Submit
Submit Record
ShowOff!
Description
求恰好使s=1+1/2+1/3+…+1/n的值大于1.9时n的值
Input
无输入
Output
n的值
Sample Input
Copy
Sample Output
Copy
4
HINT
Source/Category
while
循环结构