Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158693 林睿 x的n次方 C++ Accepted 1 MS 276 KB 221 2026-08-22 16:44:05

Tests(10/10):


Code:

#include<bits/stdc++.h> long long tao(long long a,long long b){ if(b==0) return 1; else return tao(a,b-1)*a; } using namespace std; int main(){ long long n,m; cin>>n>>m; cout<<tao(n,m)<<endl; return 0; }