| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 131210 | 周荣浩 | x的n次方 | C++ | Wrong Answer | 1 MS | 272 KB | 208 | 2025-09-21 14:45:24 |
#include<bits/stdc++.h> using namespace std; int age(int n,int x){ if(x==1) { return n; }else{ return age(n,x-1)*n; } } int main(){ int a,b; cin>>a>>b; cout<<age(a,b); return 0; }
------Input------
-2 49
------Answer-----
-562949953421312
------Your output-----
0