12133

高一六  •  8个月前


include<bits/stdc++.h>

using namespace std;

int main(){

double a,b=100,c=0;

scanf("%lf",&a);
for(int i=1;i<=a;i++){
    c=c+2*b;
	b=b/2;
	
}
printf("%lf %lf",c-100,b);
return 0;}

评论:

请先登录,才能进行评论