摘要:
Codeforces Round #696 (Div. 2) B. Different Divisors 原题链接) 题目分析 找规律,最后会发现是间隔大于等于d的两个质数的积。可以先打表,然后再用二分查找找到对应的下标,输出答案即可。 AC代码 #include<bits/stdc++.h> us 阅读全文
posted @ 2021-01-20 00:44
Frank_Ou
阅读(103)
评论(0)
推荐(0)
摘要:
Codeforces Round #696 (Div. 2) A. Puzzle From the Future [原题链接](Problem - A - Codeforces) AC代码: #include<bits/stdc++.h> using namespace std; #define i 阅读全文
posted @ 2021-01-20 00:38
Frank_Ou
阅读(75)
评论(0)
推荐(0)