省流: 肺雾分数100+0+0+0,被换行直接杀死
2024 CSP -∞
CSP是什么,好吃吗
初赛 Day 0
想到要考初赛特别紧张,whk半点没听,作业全水(喜提退回)
回家复习了一下CSP-J2023的初赛喜提60.5 ,放在SN顶级弱省,100%进复赛。
初赛 Day 1
第一题,欸?送分题,背了1145141919810年?
火速做出全部,还剩30min,摆烂。
初赛 Day 2
回来自测,62.5。稳了。
初赛 Day N
出成绩了,59.5;SN分数线50,擦线过了。
复赛 Day 1
酒店的早餐特别舒服,但是蛋糕尝了一口,好辣,一看,酒红色,不会是酒心的吧qwq。
进场时我在带的巧克力包装上写了个RP++,希望也能RP++吧。
走进考场时我照样满脑子妄想症:
瓢泼大雨中我竟呆滞哭不出一丝声音
写不出来哪怕一个音符去祭奠你
被掏空的心和满怀空白谱纸一样凄清
误以为油墨味便是你留下的气息
背对着我一跃而下的女孩在呼唤
离开了我抛弃了我将我狠狠伤害
然而你的目光是那样一如既往地温暖
融化了层层叠叠妄想的违和感
你停留在我无法追逐的记忆彼岸
永远不会再回来
你沉睡在我无法触及的牢笼那端
思念亲手偷换
多希望你的现实是我异想天开
永远不会再回来
泪水与凋零的花瓣是同样的色彩
思念被偷换
——《五重空洞》
T1
6,好久没有碰见这么水的题了,废话不多说,贴代码:
#include<bits/stdc++.h>
using namespace std;
set<string>s;
int n;
string st;
int main() {
for (cin >> n; n--;)cin >> st, s.insert(st);
printf("%d", 52 - s.size());
return 0;
}T2
大模你?
直接敲出来,一测样例,wc,第二个居然是13?七四我了,1h23min调出来。由于我是一组一组测的所以没换行(注意)(悲剧发生)
贴代码
#include<bits/stdc++.h>
using namespace std;
int dir[4][2] = {{0, 1}, {1, 0}, {0, -1}, {-1, 0}}; // 方向,x,y
int T;
char a[1003][1003];
int n;
int m;
int k;
int d;
int x, y;
int main() {
scanf("%d", &T);
while (T--) {
scanf("%d%d%d", &n, &m, &k);
scanf("%d%d%d", &x, &y, &d);
for (int i = 1; i <= n; i++) {
for (int j = 1; j <= m; j++)
cin >> a[i][j];
}
bool vis[1003][1003];
memset(vis, 0, sizeof(vis));
int ans = 1; // 起始点也算被走过
vis[x][y] = 1;
for (int i = 1; i <= k; i++) {
int nx = x + dir[d][0];
int ny = y + dir[d][1];
// 判断是否合法
if (1 <= nx && nx <= n && 1 <= ny && ny <= m && a[nx][ny] != 'x') {
if (!vis[nx][ny]) {
ans++;
vis[nx][ny] = 1;
}
x = nx, y = ny; // 更新坐标
} else
d = (d + 1) % 4; // 更改方向
}
printf("%d\n", ans);
}
return 0;
}T3
打表??
AC抱回家。 贴代码(由于换行被吃了导致悲剧2.0)
#include<iostream>
using namespace std;
int t;
int main() {
scanf("%d", &t);
while (t--) {
int n;
scanf("%d", &n);
if (n == 1) {
cout << -1;
} else if (n == 2)
cout << 1;
else if (n == 3)
cout << 7;
else if (n == 4)
cout << 4;
else if (n == 5) {
cout << 2;
} else if (n == 6) {
cout << 6;
} else if (n == 7)
cout << 8;
if (n >= 1 && n <= 7) {
cout << endl;
continue;
}
if (n % 7 == 1) {
cout << 10;
n -= 8;
} else if (n % 7 == 2) {
cout << 1;
n -= 2;
} else if (n % 7 == 3) {
if (n == 10) {
cout << 200;
continue;
}
cout << 200;
n -= 17;
} else if (n % 7 == 4) {
cout << 20;
n -= 11;
} else if (n % 7 == 5) {
cout << 2;
n -= 5;
} else if (n % 7 == 6) {
cout << 6;
n -= 6;
}
for (int i = 1; i <= n / 7; i++)
cout << 8;
cout << endl;
}
return 0;
}T4??
不可做题,不看。
#include<iostream>
using namespace std;
int t;
int main() {
cout << "1\n0\n1\n0\n1\n0\n0";
}
//仅供娱乐,无需当真时间还剩30min。edge://surf 启动!!
直到比赛结束窝还以为我是300pts
复赛 Day N
粗成绩了,100+0+0+0=100pts;
(^&%@@%^&@%^@*)
一看代码
杯具呀,没输换行。
@&#^#@&^!%^@%@!%!@^&%@%&^
总结:没啥总结的,啥也不是 虽说拿了2=
明年杀进S组!!!
后记
2025/2/13 14:29:33,万恶的CCF发布了关于参加CSP-J/S认证需符合年龄条件的公告
我明年S组的梦,粉碎啦(啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊)(我才11周岁)(昏死)
f**k€€£