#include<iostream>
#include<cmath>
using namespace std;
/*简单的运用系统函数求x的y次方*/
int main(){
int x ,y;
cin>>x >> y;
int m = pow(x,y);
cout << m;
return 0;
}
简单的体统函数运用求 x 的 y 次方
最新推荐文章于 2024-09-09 11:10:52 发布
#include<iostream>
#include<cmath>
using namespace std;
/*简单的运用系统函数求x的y次方*/
int main(){
int x ,y;
cin>>x >> y;
int m = pow(x,y);
cout << m;
return 0;
}