So easy
2026-03-20 22:07:33
发布于:上海
0阅读
0回复
0点赞
第一种做法:
#include<iostream>
using namespace std;
int main(){
int count=0;
for(int i=1;i<=5;i++){
int count_a=1;
for(int j=i;j>0;j--){
count_a*=j;
}
count+=count_a;
}
cout<<count;
}
第二种:
#include<iostream>
using namespace std;
int main(){
cout<<153;
}
这里空空如也







有帮助,赞一个