#include <stdio.h> int main (void) { int i = 1; double d = 0; for(i=1;i<=100; i++) { d +=1.0/i; } printf("%d\n",(int)(d+=0.5)); return 0; }