摘要:
题目链接找到最小的约数最多的。 1 #include <cstdio> 2 #include <cstring> 3 #include <algorithm> 4 using namespace std; 5 #define LL __int64 6 LL ans,res,n; 7 int prime[16] = {1,2,3,5,7,11,13,17,19,23,29,31,37,41,43,47}; 8 //当前枚举到的数;枚举到的第K大的质因子;该数的约数个数;质因子个数上限。 9 void dfs(LL num,LL k,LL sum,int lim 阅读全文