摘要:
P1083 [NOIP 2012 提高组] 借教室 这也太多二分题了 点击查看代码 #include<bits/stdc++.h> using namespace std; using ll = long long; const int N = 1e6+10; ll r[N]; ll d[N], s 阅读全文
posted @ 2025-05-18 20:22
Chuan81
阅读(12)
评论(0)
推荐(0)
摘要:
P3406 海底高铁 这题就写我在写题遇到的两个坑 一、是从\(P_1\)出发,不是从点1出发。。。 二、times、a、b、c数组没开long long导致WA 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N = 1e 阅读全文
posted @ 2025-05-18 19:53
Chuan81
阅读(11)
评论(0)
推荐(0)
摘要:
P3017 [USACO11MAR] Brownie Slicing G 为什么会塞蓝题啊我真的想不通啊 点击查看代码 #include<bits/stdc++.h> using namespace std; const int L = 510; int w[L][L], s[L][L]; int 阅读全文
posted @ 2025-05-18 19:02
Chuan81
阅读(13)
评论(0)
推荐(0)
摘要:
P3916 图的遍历 水题也不会写啊我赣,这题要反向建图 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N = 1e5 + 10; vector<int> G[N]; vector<int> ans(N); vector< 阅读全文
posted @ 2025-05-18 16:40
Chuan81
阅读(9)
评论(0)
推荐(0)
摘要:
P5318 【深基18.例3】查找文献 心态不好,得多做点水题 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N = 1e5 + 10; priority_queue<int, vector<int>, greater<i 阅读全文
posted @ 2025-05-18 16:13
Chuan81
阅读(5)
评论(0)
推荐(0)

浙公网安备 33010602011771号