int main() {
int b; double a,c; float sum = 0; int flag = 0; scanf("%lf %d %lf",&a,&b,&c); for(flag = 0;flag < b;flag++) { c = c*(1 + a); } printf("%lf",c); return 0;
}
建议以后直接上longlong