摘要: A. Captain Flint and Crew Recruitment 题解 一般情况下是6,10,14,n-30都能满足,但是注意题中说要四个数互不相同,所以还得考虑当n-30=6,10,14的时候再自己构造一下。 #include<bits/stdc++.h> using namespace 阅读全文
posted @ 2020-07-31 10:10 小飞淙的云端 阅读(205) 评论(0) 推荐(0) 编辑
摘要: A. LCM Problem 题解 根据题意,$(l,2*l)$必是最小解了 #include<bits/stdc++.h> using namespace std; #define mem(a,b) memset(a,b,sizeof(a)) typedef long long LL; typed 阅读全文
posted @ 2020-07-31 10:07 小飞淙的云端 阅读(112) 评论(0) 推荐(0) 编辑