摘要: http://oj.ecustacm.cn/problem.php?id=1320 #include <cstdio> #include <cstring> using namespace std; int dir[4][2] = {0,1, 0,-1, 1,0, -1,0}; int vis[10 阅读全文
posted @ 2020-04-15 21:17 Hazelxcf 阅读(134) 评论(0) 推荐(0) 编辑
摘要: http://oj.ecustacm.cn/problem.php?id=1326 等差素数列 不一定是相邻的素数 答案是210 以j为起点,i为公差,向后找9个数字 每个数字比最大的小,并且是质数 #include <bits/stdc++.h> using namespace std; cons 阅读全文
posted @ 2020-04-15 16:54 Hazelxcf 阅读(151) 评论(0) 推荐(0) 编辑
摘要: https://ac.nowcoder.com/acm/problem/collection/160 https://ac.nowcoder.com/acm/problem/collection/382 阅读全文
posted @ 2020-04-15 09:46 Hazelxcf 阅读(81) 评论(0) 推荐(0) 编辑
摘要: https://ac.nowcoder.com/acm/contest/5203/C #include<bits/stdc++.h> using namespace std; int n; int l,r; int ans; int main() { //freopen("in","r",stdin 阅读全文
posted @ 2020-04-15 08:59 Hazelxcf 阅读(149) 评论(0) 推荐(0) 编辑