| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155405 | 毛靖平 | x的n次方 | C++ | Wrong Answer | 1 MS | 272 KB | 2450 | 2026-06-07 11:30:48 |
#include<bits/stdc++.h> using namespace std; int n,m; int a(int x,int y){ if(y==1) return x; else{ return a(x,y-1)*x; } } int main(){ cin>>n>>m; long long k; k=a(n,m); cout<<k; }
------Input------
-2 49
------Answer-----
-562949953421312
------Your output-----
0