跳到正文

Eric_2014

1279525

苔花如米小,也学牡丹开

在洛谷打开
资料、奖项与版本

资料

编号
1279525
抓取

AC = Answer Coarse = 粗劣的答案✔

WA = Wonderful Answer = 绝妙的答案✔

RE = Run Excellently = 完美运行✔

TLE = Time Limit Enough =时间充裕 ✔

MLE = Memory Limit Enough = 内存充裕✔

OLE = Output Limit Enough = 输出空间充裕✔

UKE = Unbelievably Keep Excellent =难以置信地保持着完美✔

CPE = Compile Populer Easily = 轻松又流行的通过编译✔

RTE = Run Time Enough = 运行时间充裕✔

刷题是一种出路,枚举是一种思想。

打表是一种勇气,搜索是一种信仰

剪枝是一种精神,骗分是一种日常

爆零是一种宿命,WA是一种绝望

TLE是一种痛苦,RE是一种放弃

UKE是一种重复,AC是一种原谅

AK是一种幻想,弃赛是一种颓废

吊打是一种必然,进队是一种奢望

数学上来先打表,DP一般看规律

组合数学靠运气,计算几何瞎暴力

图论强行套模板,数论只会GCD

递归搜索伤不起,全都给我TLE

前缀和就是暴力,但是总是轻松点

分治做得像枚举,暴力枚举数第一

数据结构干瞪眼,怒刷水题找信心

涨知识也不容易,考试一来全懵逼

暴力出奇迹,骗分过样例。

数学先打表,DP看运气。

穷举TLE,递推UKE。

模拟MLE,贪心还CE。

想要骗到分,就要有方法。

图论背模板,数论背公式。

动规背方程,高精背代码。

如果都没背,干脆输样例。

《???的133种报错方式》

C++
 0:Success
1:Operation not permitted
2:No such file or directory
3:No such process
4:Interrupted system call
5:Input/output error
6:No such device or address
7:Argument list too long
8:Exec format error
9:Bad file descriptor
10:No child processes
11:Resource temporarily unavailable
12:Cannot allocate memory
13:Permission denied
14:Bad address
15:Block device required
16:Device or resource busy
17:File exists
18:Invalid cross-device link
19:No such device
20:Not a directory
21:Is a directory
22:Invalid argument
23:Too many open files in system
24:Too many open files
25:Inappropriate ioctl for device
26:Text file busy
27:File too large
28:No space left on device
29:Illegal seek
30:Read-only file system
31:Too many links
32:Broken pipe
33:Numerical argument out of domain
34:Numerical result out of range
35:Resource deadlock avoided
36:File name too long
37:No locks available
38:Function not implemented
39:Directory not empty
40:Too many levels of symbolic links
42:No message of desired type
43:Identifier removed
44:Channel number out of range
45:Level 2 not synchronized
46:Level 3 halted
47:Level 3 reset
48:Link number out of range
49:Protocol driver not attached
50:No CSI structure available
51:Level 2 halted
52:Invalid exchange
53:Invalid request descriptor
54:Exchange full
55:No anode
56:Invalid request code
57:Invalid slot
58:Unknown error 58
59:Bad font file format
60:Device not a stream
61:No data available
62:Timer expired
63:Out of streams resources
64:Machine is not on the network
65:Package not installed
66:Object is remote
67:Link has been severed
68:Advertise error
69:Srmount error
70:Communication error on send
71:Protocol error
72:Multihop attempted
73:RFS specific error
74:Bad message
75:Value too large for defined data type
76:Name not unique on network
77:File descriptor in bad state
78:Remote address changed
79:Can not access a needed shared library
80:Accessing a corrupted shared library
81:.lib section in a.out corrupted
82:Attempting to link in too many shared libraries
83:Cannot exec a shared library directly
84:Invalid or incomplete multibyte or wide character
85:Interrupted system call should be restarted
86:Streams pipe error
87:Too many users
88:Socket operation on non-socket
89:Destination address required
90:Message too long
91:Protocol wrong type for socket
92:Protocol not available
93:Protocol not supported
94:Socket type not supported
95:Operation not supported
96:Protocol family not supported
97:Address family not supported by protocol
98:Address already in use
99:Cannot assign requested address
100:Network is down
101:Network is unreachable
102:Network dropped connection on reset
103:Software caused connection abort
104:Connection reset by peer
105:No buffer space available
106:Transport endpoint is already connected
107:Transport endpoint is not connected
108:Cannot send after transport endpoint shutdown
109:Too many references: cannot splice
110:Connection timed out
111:Connection refused
112:Host is down
113:No route to host
114:Operation already in progress
115:Operation now in progress
116:Stale file handle
117:Structure needs cleaning
118:Not a XENIX named type file
119:No XENIX semaphores available
120:Is a named type file
121:Remote I/O error
122:Disk quota exceeded
123:No medium found
124:Wrong medium type
125:Operation canceled
126:Required key not available
127:Key has expired
128:Key has been revoked
129:Key was rejected by service
130:Owner died
131:State not recoverable
132:Operation not possible due to RF-kill
133:Memory page has hardware error

《十年OI》

十年OI一场空,不开long long见祖宗。

十年OI一场空,不开short int直接爆。

十年OI九年亡,暴力一下你就凉。

十年OI十年废,留下脸颊两行泪。

十年OI题百变,听取WA声一片。

十年OI炸鱼塘,不是神犇就得凉。

十年OI没深搜,CCF还真是抠。

十年OI有链表,你一看就直接凉。

十年OI考图论,不会floyd就得滚。

十年OI组合数,一考Catalan你就无。

十年OI一场空,SPFA见祖宗

听说津津为课程烦恼,FJ在农场种植。

潜伏者在破解密码,送礼者也在赚着差价。

同学们在比着奖学金,校门口在忙着砍树。

小明在给电脑杀毒,FJ在听着Bessie唱歌。

UFO在忙着带人走,津津在把妈妈当银行。

守望者在忙逃离,火柴棒出数学题。

西江月·夜行报错道中​ kkk 明月别枝CE, 清风半夜ERROR。 稻花香里TLE, 听取WA声一片。 七八个UKE, 两三点RTE。 旧时茅店-ms, 路转溪头报错。

北冥有鱼,其名为鲲,鲲之大,__int128存不下。

化而为鸟,其名为鹏,鹏之大,压位高精会爆炸。

代码怒发,编程志未酬。 思往日,键盘如飞,漏洞难留。 算法如潮心澎湃,代码似海梦悠悠。 誓要将,bug尽驱除,展宏猷。 编辑器,频敲击; 调试器,细搜求。 为编程,何惧夜无休。 逻辑清晰思路敏,代码优雅性能优。 愿此生,代码传千古,耀神州。

《醉花阴·编程愁》

薄雾浓云愁未散, 编程错误频相伴。 键盘敲碎问苍天, 何日无bug,欢乐重现?

玉枕纱橱凉初透, 代码如麻绕心头。 调试千遍仍出错, 泪湿衣袖,编译又愁。

东篱把酒黄昏后, 有暗香盈袖,却是TLE愁。 莫道不销魂, 编译失败,人比黄花瘦。

屏幕微光映眼前, 代码迷宫我独穿。 键盘如飞蝶舞翩, CE频现,笑对WA连。

夜深人静思绪延, 代码海洋泛波澜。 调试路上多辗转, TLE愁,乐在找答案。

东篱无酒心自安, 代码世界,MS也成欢。 莫道编程无欢颜, 泪中带笑,笑谈CE、WA间。

屏幕微光映眼前, 代码迷宫我独穿。 键盘如飞蝶舞翩, CE频现,笑对WA连。

夜深人静思绪延, 代码海洋泛波澜。 调试路上多辗转, TLE愁,乐在找答案。 东篱无酒心自安, 代码世界,MS也成欢。 莫道编程无欢颜, 泪中带笑,笑谈CE、WA间。

清平乐·报错 题目虽少,CE真不少。 评测满屏TLE,暴零谁家蒟蒻。 大儿离奇RE,中儿UKE中,最喜小儿AC,迷路亿群WA中。

13

OJ=Orange Juice=橙汁

AC=A Cow=一头母牛

CE=CBA Earth=中国篮球协会的地球

PE=Prince ego=王子自私

RE=Runtime Error=跑步时出错

TLE=Tim Lose Excite=Tim(人名)失去了激动

WA=哇

PAC=PACAI=趴菜

OLE=Oh LCX Error=哦,本人错误

MLE=Mom Letme Earnmoney=妈妈让我赚马内

编程难(自己的,没有抄袭)

噫吁嚱,危乎难哉!编程之难,难于上青天!

大佬及dalao,AC何茫然!

尔来四万八千岁,不与AC通人烟。

东当luogu有鸟道,可以横绝刷题颠。

DOJ崩luogu摧壮士死(被封了),

然后ACM OI相勾连。

上有高精map不会做,下有string char总弄错。

dalao之飞尚不得过,蒟蒻欲度愁攀缘。

AC何盘盘,CE RE人眼乱。

WA PE仰鞋兮,提交失败作长叹。

问君AC何时还,畏途巉岩不可攀。

但见蒟蒻号古墓,WA又WA绕林间。

又闻蒟蒻PAC,只10分。

编程之难,难于上青天,使人听此凋朱颜!

MLEOLE不英尺,TLE倒挂杀蒟蒻。

飞湍难题争喧豗,砯崖转石又WA

其难也如此,嗟尔编程之人胡为乎来哉!

C++
#include<bits/stdc++.h>
using namespace std;
long long x[100010];
long long hu(long long xx)
{
    long long ans=0;
    while(xx)
    {
      ++ans;
      xx^=(xx&(-xx));
    }
	return ans;
}
int main()
{
	long long n,a,b,c,d;
	long long last;
	cin>>n>>a>>b>>c>>d>>last;
	a%=d,b%=d,c%=d;
		long long cnt0=0,cnt1=0;
		
	for(long long i=1;i<=n;++i)
	{
		if(hu((((last*last%d)*a)%d+b*(last)%d+c)%d)%2==0)cnt0++;
		else cnt1++;
		last=((((last*last)%d)*a)%d+(b*last)%d+c)%d;
	}

	cout<<cnt0*cnt1<<endl;
}

}

C++
#include <bits/stdc++.h>
using namespace std;

bool g[100010];
unsigned long long a,p,q,cnt=1,mul=0;
int main()
{
	unsigned long long ans=0;
	unsigned long long n,m,c,k;
	cin>>n>>m>>c>>k; 
	ans=k;
	if (n==0&&m==0&&k==64)
	 {
	 	cout<<18446744073709551616;
		exit(0);
	} 
	
	for(int i=1;i<=n;i++)
	{
		cin>>a;
		mul|=a;
	}
	for(int i=0;i<m;i++) 
	{
		cin>>p>>q;
		if (((mul>>p)&1)==0&&g[p]==0)
		{
			ans--;
			g[p]=1;
		} 
	}
	for(int i=1;i<=ans;i++)cnt*=2;
	cout<<cnt-n<<endl;
	return 0;
}


#include <bits/stdc++.h>
using  namespace std;
int f[100010][20];

int main()
{
	int n,m; 
	cin>>n>>m;
	for (int i=1;i<=n;i++) 
	{
		cin>>f[i][0];
	}
	for (int j=1;j<=log2(n);j++)
	{
		for (int i=1;i<=n-int(pow(2,j))+1;i++)
		{
			f[i][j]=max(f[i][j-1],f[i+int(pow(2,j-1))][j-1]);
		}
	}
	for (int i=1;i<=m;i++)
	{
		int x,y;
		cin>>x>>y;
		int l=log2(y-x+1);//列 
		cout<<max(f[x][l],f[y-int(pow(2,l))+1][l])<<endl;
	}
}

还没有收录这位用户的文章。