一条铁鱼 • 7个月前
#include<iostream> using namespace std; typedef long long LL; LL jie(LL x){ if(x==1||x==0){ return 1; } return x*jie(x-1); } int main(){ LL n; cin>>n; cout<<n<<"!="<<jie(n); return 0; }
Comments: