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