Run ID:103816

提交时间:2024-12-29 15:18:23

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