摘要:
P1036 [NOIP 2002 普及组] 选数 点击查看代码 #include<bits/stdc++.h> using namespace std; int n, k; vector<int>a; int ans = 0; bool is_prime(int x) { if(x < 2) ret 阅读全文
posted @ 2025-05-23 19:57
Chuan81
阅读(13)
评论(0)
推荐(0)
摘要:
P1257 平面上的最接近点对 这题的数据其实直接暴力枚举就可以了,但是书里是放在分治章节的。 题目越来越难了,我现在感觉真的很吃力😟 点击查看暴力枚举代码 #include<bits/stdc++.h> using namespace std; const int N = 10005; stru 阅读全文
posted @ 2025-05-23 19:06
Chuan81
阅读(26)
评论(0)
推荐(0)

浙公网安备 33010602011771号