| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68289 | 刘浩宇 | x的n次方 | C++ | Wrong Answer | 1 MS | 272 KB | 200 | 2024-03-22 20:24:01 |
#include<bits/stdc++.h> using namespace std; int n(int m,int f){ if (f==1){ return m; }else{ return m*n(m,f-1); } } int main(){ int h,g; cin>>h>>g; cout<<n(h,g); return 0; }
------Input------
-2 49
------Answer-----
-562949953421312
------Your output-----
0