自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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关注的人

提示
确定要删除当前文章?
取消 删除