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