无数人fst了B,我也身在其中,先开C的都太机智了
A. Counterexample
在[l,r]上取三个数a,b,c(a < b < c) 使 b不能被a整除,c不能被b整除,但c能被a整除。因为r-l<=50 , 暴力
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
#define LL long long
LL gcd(LL a, LL b) {
if (!b) return a;
else return gcd(b, a%b);
}
int main() {
LL ll, rr;
LL l, r;
l = ll, r = rr;
scanf("%lld%lld", &l, &r);
for (LL i = l+1; i <......
阅读全文