Codeforces Round 853 (Div. 2) A-D

比赛链接 A 肯定是把 $GCD \le 2$ 的放在最前面,后面就一定全部满足了。 #include <bits/stdc++.h> using namespace std; #define N 100010 #define ll long long template <class T> inli
posted @ 2023-03-12 21:41  雪之下,树之旁  阅读(22)  评论(0编辑  收藏  举报