摘要:
#include<iostream> #include<vector> using namespace std; int a(int b){ if(b<=1){ return 1; } return b*a(b-1); } int main(){ int n,s=0; cin>>n; for(int 阅读全文
posted @ 2024-07-10 15:59
陈若麟
阅读(14)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<vector> using namespace std; int main(){ int n,sam=0; cin>>n; vector<int> a; a.push_back(1); for(int i=2;i<=n;i++){ for(in 阅读全文
posted @ 2024-07-10 15:59
陈若麟
阅读(11)
评论(0)
推荐(0)

浙公网安备 33010602011771号