Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68640 李星熠 x的n次方 C++ Accepted 1 MS 272 KB 204 2024-03-24 10:21:47

Tests(10/10):


Code:

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