liujiao @ 2017-08-06 17:52:07
#include<iostream> using namespace std; int main( ) {int a;float b=0;int i; cin>>a; while(b<=a) { i=1; b=b+(1.0/i);