摘要: 思路: 分析题目要求的就是由2,3,5,7单独相乘或者组合相乘的数字。 所以将数字循环起来相乘,之后结果按从大到小地无重复放进数组当中。 学长 #include<set> #include<queue> #include<vector> #include<cstdio> using namespac 阅读全文
posted @ 2024-06-03 14:04 海&贼 阅读(29) 评论(0) 推荐(0)
摘要: emm就直接看的前辈的了。 唉 #include <stdio.h> #include <string.h> #include <algorithm> //我不成熟的想法是两成遍历 //但感觉会时间超限,但没有先想到深度搜索 using namespace std; int n,t; int num 阅读全文
posted @ 2024-06-03 13:20 海&贼 阅读(22) 评论(0) 推荐(0)