摘要: include <bits/stdc++.h> using namespace std; int main( ) { int n=2, m; cin >> m; double sum=1; while (sum<m) { sum+=1*1.0/n; n++; } cout << n-1; retur 阅读全文
posted @ 2024-11-03 12:29 浩瀚宇宙星晨 阅读(10) 评论(0) 推荐(0) 编辑