#include<bits/stdc++.h> using namespace std; int k,n=1; int main(){ cin>>k; for(int i=1;i<=k;i++)n=n+1/i; cout<<n; }
一直答不对?