跳到正文

生活·游记

同机房大佬迷惑大赏

Charlie_oua约 5 分钟
原文
文章信息与版本

文章信息

收录
2025年12月12日
更新
2025年12月13日
篇幅
约 5 分钟

版本

  1. v2当前
  2. v1

同机房大佬的迷惑大赏?

写在前面

就我不是大佬

其实我们学校挺强(?)(但不包括我),所以迷惑行为挺少的

我写这篇的时候没问他们,所以我会被他们打死吗不会的

正文(?)

1.遗憾的T1

是GD-J03126,因T1调试后把freopen改回去,导致T1保龄,本可以AK2025CSP-J,默哀3秒(他会永远记得number4)。

代码
freopen("number4.in","r",stdin);
freopen("number4.out","w",stdout);

2.手打异或 (若只)

嗯对大概就是GD-J01352太菜了手打异或,暴力20分,嗯对

C++
int yihuo(int x,int y){
//手打异或(不知道异或的函数www)
 int a[25],b[25],c[25],n=0,m=0,k=1,ans=0;
 memset(a,0,sizeof(a));//我写的什么狗屎缩进
	memset(b,0,sizeof(b));
	for(int i=x;i>0;i=i/2)a[++n]=i%2;
	for(int i=y;i>0;i=i/2)b[++m]=i%2;
	for(int i=1;i<=max(n,m);i++)
		if(b[i]!=a[i])
			c[i]=1;
		else
			c[i]=0;
	for(int i=1;i<=max(n,m)/2;i++)
		swap(c[i],c[n-i+1]);
	for(int i=1;i<=max(n,m);i++,k=k*2)
		ans=ans+k*c[i];
	return ans;
}

3.只是记录考场发生的事

GD-J2585 太强了所以在代码下面写了一堆没用的东西,但是最后还是坠机了100+35+60+40=235

C++
/*
int int long long bis/stdc++.h iostream using namespace std std std main
return reureruueb retubnr reurb eurb e loce oi OIer
OIwiki
I love CCF !
I AK IOI !
10:30 48pts!!!
big test is AC!!!

10:35
use ton is 100pts ?
10:40
...(一长串被注释掉的代码)
make that will use lianbiao , it's a lots of xijie
let's see T4
10:48
Why am I feel T3 can't get to 48 pts;
RP++
I must see T4 now;
11:22
maybe I can use VECTOR it's easy;
but now let me test in NOI linux2
OH , I can't open the out file
it's too big
I check it in windows
Oh I fell I have not full time to write T3
But get I can get pts is the first.
Maybe I can't get YIDENG
BUT I am 13 years old.
It is a long way to me;
my English is so bad.
my luogu ID is Manacher
I'm in the SSSY shool.
I must go to chek now.
11:34
11:41
WHY I need to write my information?
*/
代码
/*
keyword
luogu
ccf
fopen
saet
sate
AFO
OI
666 kao hou cha dian shu cuo le
*/

写AFO的意味何在?实则机房0个人要AFO(?)

代码
/*
It look like DP;
but I have not mind
1~3 I can DA'BIAO !!!
can I use chinese ?
10:58
maybe I get 12pts.
It OK to 260 pts get CSP_J YIDENG ?
I hope my T2 & T1 is AC;
11:01
when n <= 20
I can dfs;
Just do it!
my be it can dui'pai
11:15
my dfs is ac the yang'li !!!
I will get 40 pts;
Let's check now;
11:18
polygon3 is OK !!!
Maybe I will get to YI'DENG ?
I LOVE CCf
11:21
I can get T4 40 pts now;
let me write T3;

*/

4.一串数字

嗯对GD-J01734不知道在干嘛

T3

代码
	...
	if(n<=2e4){
     ...
	}else if(s1&&k){
     ...
	}else if(s1){
     ...
	}
	else cout<<"12202251019251917425";
原文