Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137609 Kevin x的n次方 C++ Accepted 1 MS 276 KB 208 2025-11-21 15:59:05

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; long long cifang(int a,int b){ if(b==0) return 1; else return a*cifang(a,b-1); } int main() { int a,b; cin>>a>>b; cout<<cifang(a,b); return 0; }