| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68287 | 刘浩宇 | x的n次方 | C++ | Wrong Answer | 1 MS | 268 KB | 201 | 2024-03-22 20:15:00 |
#include<iostream> using namespace std; int b; int n(int m,int f){ if (m==1){ return f; }else{ return f*n(m-1,f); } } int main(){ int h,g; cin>>h>>g; cout<<n(h,g); return 0; }
------Input------
10 7
------Answer-----
10000000
------Your output-----
282475249