跳到正文

个人记录

CSP-S 2023 福建迷惑行为大赏

d0j1a_1701约 14 分钟
原文
文章信息与版本

文章信息

发布
2023年10月24日
收录
2025年12月12日
更新
2026年11月18日
篇幅
约 14 分钟

版本

  1. v1当前

总览

  • 共有 12821282 人参赛,429429 份代码编译错误。
  • 第一题「密码锁」的平均分仅有 6565 分(民间数据)。
  • 有 5757 位选手赛时 AC 了第三题「结构体」(民间数据)。
  • 有 6868 位选手取得了 00 分的成绩(民间数据)。
  • 7272 份代码中共含有 159159 个 114514,99 份代码中含有 1717 个 1919810。

文件错误

6666 份代码中含有 //freopen 字样,但其中仅有 5656 份代码「有效地」注释了 freopen。

FJ-S00045:

C++
/*
Register_int catcher
stO cjld&cyz&zzp akioi Orz
//freopen( //freopen( //freopen( //freopen(
The T4 is so difficult, so it's the end of my csp-s_2023. If there isn't any mistake, I could get 300 points. (
*/

这是一位场切前三题的巨佬,快来膜拜!

FJ-S00613

C++
//3:15 区区1737字符的T1,A掉 
//3:34 调试输出忘删了差点寄掉 (警钟撅烂) 
//6:20 //freopen的//忘删了差点寄掉 (警钟撅烂*2) 

很不幸的是,他的「密码锁」仅获得了 3030 分,默哀。

FJ-S00741

C++
// this time i found problems are about nothing i am good at.Clap for CCF.
// RIP Fasiany RIP
// greet kkk
// sto NF orz
int main(){
	//freopen
	// freopen
//     freopen
	// did these //freopen cheated you?
	freopen("game.in", "r", stdin);
	freopen("game.out", "w", stdout);
	ll n;

这位选手在提交的两份代码中都加入了类似的「鱼钩」,效果良好。

FJ-S01028

这位选手的每份代码最后都有一个 //freopen。

表白墙

FJ-S00377 在每份代码的开头都填写了如下注释:

C++
// CCF I love you! You are so great! CSP AK ME!

FJ-S00440 在「结构体」中使用 loveccf 作为变量名。

FJ-S00812 的「结构体」代码中提到:

C++
/*I love CCF*/

并输出了 tt 个 ERR。祝他骗分顺利。

FJ-S00915

C++
//T3 is too difficult for me!!!
//QWQ_SenLin AK CSP-S!! tdogcode AK CSP-S!!!
#include <iostream>
#include <cstring>
#include <map>
using namespace std;

map<string,int> qwq;
map<string,int> begin,uuse;
string vis[100005];
int n,op,now,k;
long long addr;
string t,nam,snam;
int main () {
	freopen("struct.in","r",stdin);
	freopen("struct.out","w",stdout);
//	freopen("struct.in","r",stdin);
//	freopen("struct.out","w",stdout);
	string qqq[4] = {"byte","short","int","long"};
	qwq[qqq[0]] = 1;
	qwq[qqq[1]] = 2;
	qwq[qqq[2]] = 4;
	qwq[qqq[3]] = 8;
	scanf("%d",&n);
	while (n--) {
		scanf("%d",&op);
		if (op == 1) {
			int I_Love_CCF = 5201314;
		}
		if (op == 2) {
			cin >> t >> nam;
			begin[nam] = now;
			int big = qwq[t];
			for (int i = now;i < now + big;i++) vis[i]=nam;
			now += big;
			uuse[nam] = qwq[t];
		}
		if (op == 3) {
			cin >> nam;
			printf("%d\n",begin[nam]);
		}
		if (op == 4) {
			scanf("%lld",&addr);
			if (addr >= now) puts("ERR");
			printf("%d\n",begin[vis[addr]]);
		}
	}
	return 0;
}
/*
4
2 long a
2 long b
3 b
4 15
*/

FJ-S01150

C++
#include<bits/stdc++.h>
#define ll long long
using namespace std;
signed main(){
	freopen("struct.in","r",stdin);
	freopen("struct.out","w",stdout);
	puts("linyiwei woaini!!!");
	puts("ccf wohenni...");
	//zhen de bu hui xie,ccf wo ai si ni le
	//zhen shi tai shi bai le
	//genshin,qi dong!!!!!!!
	return 0;
}
//zhe me xi huan chu da mo ni?????
//CCF cha bu duo de le.

美好的祝愿

FJ-S00458

C++
#include<bits/stdc++.h>
#include<string>
#include<stack>
using namespace std;
stack<char>MoneY;
int n,friendship,kindness;
string LiHL;
bool check(string LiHL,int b,int c){
	for(int i=b;i<=c;i++){
		if(MoneY.empty()) {
			MoneY.push(LiHL[i]);
			continue;
		}
		else if(MoneY.top()!=LiHL[i]) MoneY.push(LiHL[i]);
		else MoneY.pop();
	}
	if(MoneY.empty()) return true;
	return false;
}
int main() {
	freopen("game.in","r",stdin);
	freopen("game.out","w",stdout);
	cin>>n;
	cin>>LiHL;
	int love=LiHL.length();
	for(int i=0; i<love; i++) {
		for(int j=1;j+i<love;j+=2){
			while(!MoneY.empty()) MoneY.pop();
			if(check(LiHL,i,j+i)) friendship++;
		}
	}
	cout<<friendship;
	return 0;
}

FJ-S00370 的四份代码中均包含如下注释:

C++
/*
ckw AK CSP-S
cr AK CSP-S
hyx AK CSP-S
jxw AK CSP-S
lnrx AK CSP-S
lyf AK CSP-S
lyx AK CSP-S
wk AK CSP-S
wkc AK CSP-S
wwq AK CSP-S
wyc AK CSP-S
xzh AK CSP-S
yhx AK CSP-S
yyc AK CSP-S
yyz AK CSP-S
*/

值得一提的是,这也是场切三题的巨佬。

FJ-S00470 的四份代码均以 //RSY AK IOI!!! 开头。

他获得了民间数据 345345 分的好成绩。

FJ-S00504

C++
//rk++ orz chm_qwq chm_qwq AK

FJ-S00529

C++
#include <bits/stdc++.h>
using namespace std;/*
struct User {
	int uid;
	unsigned long long rp;
	string saying;
	vector<string> Got_Medal;
	set<string> AKed_Problem;
	vector<User> following;
	vector<User> follower;
} __905029__, _Cathy_, qwef__;*/
int main() {
	freopen("tree.in", "r", stdin);
	freopen("tree.out", "w", stdout);/*
	__905029__.uid = 905029;
	__905029__.rp = 0;
	__905029__.saying = "I am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo\nI am a big JuRuo";
	__905029__.AKed_Problem.insert("P1001");
	__905029__.following.push_back(_Cathy_);
	__905029__.following.push_back(qwef__);
	__905029__.follower.push_back(_Cathy_);
	__905029__.follower.push_back(qwef__);
	_Cathy_.uid = 921113;
	_Cathy_.rp = 114514;
	_Cathy_.saying = "I AK CSP";
	_Cathy_.Got_Medal.push_back("CSP/J AKed");
	_Cathy_.Got_Medal.push_back("CSP/S gold");
	_Cathy_.AKed_Problem.insert("P1919");
	_Cathy_.following.push_back(__905029__);
	_Cathy_.following.push_back(qwef__);
	_Cathy_.follower.push_back(__905029__);
	_Cathy_.follower.push_back(qwef__);
	qwef__.uid = 819212;
	qwef__.rp = -1;
	qwef__.saying = "I AK IOI!";
	qwef__.Got_Medal.push_back("CSP/J AKed");
	qwef__.Got_Medal.push_back("CSP/S AKed");
	qwef__.Got_Medal.push_back("NOIP AKed");
	qwef__.Got_Medal.push_back("NOI AKed");
	qwef__.Got_Medal.push_back("IOI AKed");
	qwef__.AKed_Problem.insert("P1001");
    qwef__.AKed_Problem.insert("P1002");
    qwef__.AKed_Problem.insert("P1003");
    qwef__.AKed_Problem.insert("P1004");
    qwef__.AKed_Problem.insert("P1005");
    qwef__.AKed_Problem.insert("P1006");
    qwef__.AKed_Problem.insert("P1007");
    qwef__.AKed_Problem.insert("P1008");
    ......
    qwef__.AKed_Problem.insert("P1991");
    qwef__.AKed_Problem.insert("P1992");
    qwef__.AKed_Problem.insert("P1993");
    qwef__.AKed_Problem.insert("P1994");
    qwef__.AKed_Problem.insert("P1995");
    qwef__.AKed_Problem.insert("P1996");
    qwef__.AKed_Problem.insert("P1997");
    qwef__.AKed_Problem.insert("P1998");
    qwef__.AKed_Problem.insert("P1999");
    qwef__.AKed_Problem.insert("P2000");
	qwef__.following.push_back(__905029__);
	qwef__.following.push_back(_Cathy_);
	qwef__.follower.push_back(__905029__);
	qwef__.follower.push_back(_Cathy_);
	return (__905029__.rp);*/
	int n;
	cin >> n;
	cout << n;
	return 0;
}

全文共计 44kb。

暴戾语言

经过上次的教训,这次的选手们都相当克制,仅找到了 1313 份代码含有脏话字样。

为了保护选手,不再放出考号。

长代码

以下是文件夹大小前十。

文件名大小
FJ-S00488399.48 KB
FJ-S00199394.77 KB
FJ-S01247393.36 KB
FJ-S00611198.23 KB
FJ-S0056199.74 KB
FJ-S0110080.52 KB
FJ-S0052945.39 KB
FJ-S0090444.71 KB
FJ-S0027441.81 KB
FJ-S0106114.56 KB
原文
存档评论5 条抓取于