| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68277 | 殷震轩 | x的n次方 | C++ | Wrong Answer | 1 MS | 268 KB | 180 | 2024-03-22 19:03:43 |
#include<bits/stdc++.h> using namespace std; int yin(int x,int n){ if(n>1){ return yin(x,n-1)*x; } } int main(){ int x,n; cin>>x>>n; cout<<yin(x,n); return 0; }
------Input------
10 7
------Answer-----
10000000
------Your output-----
0