Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135035 陈华仁星 x的n次方 C++ Wrong Answer 1 MS 272 KB 255 2025-11-02 11:38:25

Tests(0/10):


Code:

#include <iostream> using namespace std; int n,m; void top(long long n,int m) { if(m>=2) { n*=n; m-=1; top(n,m); } else { printf("%lld",n); } } int main() { scanf("%lld %d",&n,&m); top(n,m); return 0; }


Run Info:

------Input------
10 7
------Answer-----
10000000
------Your output-----
0