dumbbunny @ 2019-02-01 16:17:11
int main(){ int k; scanf("%d",&k); int i=2; int fz=1,fm=1; for(;;i++){ fm=i; fz=fzi+fm/i; if(fz>fm*k) break; } printf("%d",i); return 0; }
by Doveqise @ 2019-02-01 16:37:44
double
by AC_Automation @ 2019-02-01 16:38:14
用double
by t162 @ 2019-02-01 16:43:59
用float
by t162 @ 2019-02-01 16:44:17
用real