题解
2025-04-10 15:18:03
发布于:江苏
1阅读
0回复
0点赞
#include<iostream>
#include<cstdio>
using namespace std;
double f(int x){
if(x==0){
return 1;
}else{
return 2*f(x-1);
}
}
int main(){
double m,n;
cin>>m>>n;
printf("%.7f",f(n)/f(m));
return 0;
}
这里空空如也
有帮助,赞一个