整数分解 [第十二届蓝桥杯省赛第二场C/C++] 思路:先枚举两位的所有方法,然后枚举四位,接着把所有的累加,详细过程看注释。 #include<bits/stdc++.h> using namespace std; long long ans=0; int mp[5000]