c++
#include
using namespace std;
int fun(int a,int b)
{
int sum=1;
for(int n=0;n {
sum=sum*a;
}
return sum;
}
int main()
{
int m,b,a;
cout<<"请输入a和b"<cin>>a>>b;
m=fun(a,4)+fun(b,4)-fun(a+b,3);
cout<return 0;
}
c++
#include
using namespace std;
int fun(int a,int b)
{
int sum=1;
for(int n=0;n {
sum=sum*a;
}
return sum;
}
int main()
{
int m,b,a;
cout<<"请输入a和b"<cin>>a>>b;
m=fun(a,4)+fun(b,4)-fun(a+b,3);
cout<return 0;
}