- 博客(7)
- 收藏
- 关注
原创 电脑无法连接校园网
点开网络和Internet,进入你的校园网设置,将IP改为手动设置,IP地址改为192.168.1.10,子网掩码改为255.255.0.0,确认。然后断开网络,再连接,将DHCP再改为自动。碰到一个问题,电脑连接到校园网,但是不能上网。
2023-08-04 14:40:21
287
1
原创 CCF-CSP 2019-12-2 回收站选址
原题链接#include<iostream>#include<map>using namespace std;map<pair<int, int>, int> points;int pos1[4][2] = { {-1, 0}, {1, 0}, {0, -1}, {0, 1} };int pos2[4][2] = { {-1, -1}, {-1, 1}, {1, -1}, {1, 1} };bool isRecycle(int x, i
2022-03-11 18:10:38
152
原创 CCF-CSP 2020-06-01 线性分类器
题目链接:线性分类器#include<iostream>#include<vector>using namespace std;struct TestNode { int x; int y; char type; TestNode(char c = ' '): x(0), y(0), type(c){}};//判断某一类点是否都在线段一侧bool isSameSide(vector<TestNode> points, int coef1,
2022-03-03 15:26:39
72
原创 CCF-CSP 202112-1 序列查询(C++)
#include<iostream>using namespace std;int main() { std::ios::sync_with_stdio(false); int n, N; cin >> n >> N; int sum = 0, preNum = 0; for (int i = 1; i <= n; ++i) { int num; cin >> num; sum += (num - preNum) * ...
2022-02-28 18:35:31
523
原创 CCF-CSP 2020-09-2 风险人群筛查
#include<iostream>using namespace std;int main() { std::ios::sync_with_stdio(false); int n, k, t, xl, xr, yd, yu; cin >> n >> k >> t >> xl >> yd >> xr >> yu; int passBy = 0, stay = 0; while (n--) {.
2022-02-27 17:15:03
124
原创 CCF-CSP 2020-09-1 称检测点查询
#include<iostream>#include<vector>#include<algorithm>using namespace std;int main() { std::ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int n, x, y; cin >> n >> x >> y; vector<pair&l.
2022-02-27 16:47:22
215
原创 CCF-CSP 2020-12-2期末预测之zui佳阈值
#include<iostream>#include<vector>#include<set>#include<unordered_map>#include<algorithm>using namespace std;const int MAX = 100005;unordered_map<int, pair<int, int>> arr;set<int> scores;int ans;.
2022-02-26 11:19:28
121
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人