#include <stdio.h>
#include <math.h>
double f(double pre_s, int stt, int stop, double *re_s) {
int i;
double s;
s = pre_s;
for (i = stt; i <= stop; i++)
s += (1.0 / i);
*re_s = s;
}
#define N 8
int main() {
int i, p1, p2;
double s;
s = 0.0;
for (i = 0, p1 = 1, p2 = 10; i < N; i++, p1 = p2, p2 *= 10)
return 0;
}
/* end */
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+Cgpkb3VibGUgZihkb3VibGUgcHJlX3MsIGludCBzdHQsIGludCBzdG9wLCBkb3VibGUgKnJlX3MpIHsKICBpbnQgaTsKICBkb3VibGUgczsKICBzID0gcHJlX3M7CiAgZm9yIChpID0gc3R0OyBpIDw9IHN0b3A7IGkrKykKICAgIHMgKz0gKDEuMCAvIGkpOwogICpyZV9zID0gczsKICByZXR1cm4gcyAvIGxvZyhzdG9wKTsKfQoKI2RlZmluZSBOIDgKaW50IG1haW4oKSB7CiAgaW50IGksIHAxLCBwMjsKICBkb3VibGUgczsKICBzID0gMC4wOwogIGZvciAoaSA9IDAsIHAxID0gMSwgcDIgPSAxMDsgaSA8IE47IGkrKywgcDEgPSBwMiwgcDIgKj0gMTApCiAgICBwcmludGYoIiVkLCAlZlxuIiwgcDIsIGYocywgcDEsIHAyLCAmcykpOyBmZmx1c2goc3Rkb3V0KTsKICByZXR1cm4gMDsKfQovKiBlbmQgKi8K
10, 1.272035
100, 1.148139
1000, 1.099557
10000, 1.074727
100000, 1.059787
1000000, 1.049823
10000000, 1.042705
100000000, 1.037367