提交时间:2023-11-11 10:58:26
运行 ID: 109815
#include<bits/stdc++.h> using namespace std; int ans=1; int sdasidnaui(int a,int b) { if(b) sdasidnaui(a,b-1); else return ans; ans*=a; } int main() { int a,b;cin>>a>>b; cout<<sdasidnaui(a,b); }