跳到正文

剪贴板

剪贴板 3g7eflbf

原文
剪贴板信息

剪贴板信息

收录
更新

代码
DGGY9999蛋币
crazygames.com
eggy2310am龙魂战神
eggyeggy666
eggy2311am
eggy210am
eggy0000
eggy202211
EGGY0000
EGGY202212
DzPD0000
DzPD9999
eggynewyeor
DzPD88888888
龙魂战神和蛋币总换码

拿铁熊猫显示器

保利桥

POLY TRACK

太有用了

3D

【老机长系列】我们根本不需要什么降落系统

苹果

核弹

三地打印小铲车

kali MSF命令大全(非常详细),零基础入门到精通,看这一篇就够了

小游戏

洛谷小游戏

气死你的东西

不刑点我

我朋友的团队

三国杀代码

丧尸小游戏

后室小游戏

丛林网页游戏

我的世界

侵略小游戏

胎神游戏

小黑子

修仙模拟器

游戏

文章

AI

好♂康♂的♂

新我的世界

ACFJ-Plus 质量评价生成器

剧情

2048

三国杀2

三国杀3

扫雷+开枪

珂朵莉树

文章2

网站

满级图库

恶魔轮盘赌

https://digdig.io

https://dinoswords.gg/

chrome://dino/

https://mrdoob.com/

https://classic.minecraft.net/?join=E6fqRkQtUKrzCYfh

文章

君不见,洛谷之题天上来,复杂到海不舍回。 君不见,高堂明镜悲白发,朝如青丝暮成雪。 人生WA WA须尽思,莫使电脑空对题。 天生我材没有用,千方百计还RE。 AC一点且为乐,会须一刷三百WA。 吾团友,牛大佬,将刷题,手莫停!!! 与题做一遍,请系统为蒟蒻以测评。 天天WA WA不足贵,但愿长眠不复醒!!! 古来大佬皆刷题,惟有蒟蒻水水水。 站长昔时百AC,斗题十千恣欢谑。 主人何为言AC?径须沽取对君WA。 TLE,MLE,OLE,UKE,WA,PC,CE和RE!!! 呼儿将出换AC,与尔同销万古愁!

kjhgfz op12op

ღ+ꦿ+࿐=ღꦿ࿐=ღꦿ࿐

¿

慈母手中剑️,游子身上劈。 一秒十三剑,刀刀是暴击。 父见儿未凉,抽出七匹狼。 爷见孙未凉,挂在电线上。 姑见孩未凉,擀面杖打上。 舅见孩未凉,烙铁拖身上。 孩儿未凄惨,遍体鳞伤衣。 血流十八盆,盆盆有肉芯。 未觉匹夫肉,来自父母亲。 亲戚全都来,场面难忍心。 板砖呼其头,筷子捅其心。 勺子挖其肠,赤手抽其筋。 场面过于惨,实在不忍心。 有请各位来,医学好更新。-----《游子嚎》 IOI 2024 游记

2024IOI 游记

DAY 0

MIT集训结束了,乘飞机飞往开罗。在组委会的各种安排下,我神奇的和美国队队长 Benjianmin Pi 和俄罗斯队队长 lldar Ganullin 坐在了一起。

从波士顿飞往开罗需要 20 20 个小时的时间,飞机上太无聊,准备看电影。我们这一排只有我面前的电视是好的,而且只有意大利语电影。

我觉得挺有趣,但他们俩都说看不懂。于是花5分钟出了十道联赛难度的试题给他们做。

我看了三部电影之后问他们做完没有。400iq 说他没有任何思路;Benp 稍微强一点,拿出了

50 50 页打满的草稿纸说他推了 5 5 个小时终于会了第一题 5 5 分的暴力,现在已经写了 1000 + 1000+ 行代码了,还没调出来。

亏他们还是大国国家队的队长,连联赛难度的试题都做不出。第一题不就是一个裸的可持久化动态仙人掌维护最小费用无源汇有上下界可行流再套上拓展9模数广义分治 FFT 吗?连这都做不出 IOI 他们不是要爆零了。

本来准备看第 4 4 部电影的,可是他们俩坚持让我讲题。我没有办法准备3分钟结束,可是才说两句话 Benp 就说他掉线了。

之后,有一道题讲了四五遍 400iq 都说听不懂,我用俄语再给他讲了两遍,他还是不懂,最后发现他不会「轨道稳定化子」的俄语单词,害我讲了半天。

讲了 10 10 个小时终于讲完了前两题,他们还是半懂不懂的状态。

下飞机后 Benp 说他在飞机上想好了,打完这场 IOI 就当场退役,彻底淡出竞赛圈。但这完全不是我的问题,我也没有想到他们俩会这么菜,早知道就给他们做入门题了。

这次下飞机是走的楼梯,我一出舱门就看到 IOI 主席跪在下面迎接我,埃及总统和第一夫人坐在超长林肯里跟我挥手示意。

我别过两位菜鸡,反手进了车门,并在总统府中享用晚餐。

感觉总统花园里的游泳池太小了,只有 1 𝑘 𝑚 × 1 𝑘 𝑚 1km×1km,游 1 𝑠 1s 就游完了对角线,完全不够我施展身手。总统也感到很是抱歉,并表示马上会开发地中海游泳池供我使用。

DAY 1

清晨常规晨练,绕着开罗老城区跑了 33 33 圈欧拉回路,感觉这城市还是太小了。

看完三个题发现好像都比较可做的样子,第二题一眼以为是转化为 68 68 连通之后搞搞,结果发现答案只有 452 452 种可能。

感受一下感觉第二题比较恶心,于是就决定先做第一题再做第三题再做第二题。

第一题做到一半发现暴力居然有 5 5 pts,瞬间感觉自己写正解是在做无谓的努力,然后随便搞了 9 9 分钟,感觉非常稳,过了样例就 A 了。

第三题猜想只要使用狄利克雷非主特征随便容斥下,结果写了个暴力发现大样例跑出来了,然后开始加两句优化跑两下,就拿到了 99.5 99.5 pts。

然而这是不行的,居然只有 99.5 99.5 pts。

于是愉快地开始瞎做,做到一半发现我的方法好像有点吊,随便上个树状数组优化的 min25 筛套杜教筛就可以了,顿时感觉我走上了AK之路。思考了两秒发现没什么问题,就开始码 min26 筛了。

接着到了下午两点半宣布考试过了一半了。我开始刚 T2。

结果发现果然 T2 才是最难刚的,一开始觉得只要维护一个可持久化动态仙人掌的想法是不行了,不改成仙人掌链剖分套圆方树感觉会超时。

然后开始想别的做法,发现好像可以枚举一个点判断周围 68 68 维空间的情况,然后正要开始写的时候发现不会判不连通。然后发现前面那个仙人掌链剖分的方法好像也不太好做了。

于是开始写写写,发现各种对,过了样例发现判 68 68 维空间好像比较容易,想象了一下 68 68 维空间长什么样子,然后瞎几把猜了个结论就 A 了。

好像 AK 了,非常感动。

最后说下我对题目的看法吧,我觉得这次 IOI 的题目还算比较科学,只不过难度较低,随便就 AK 了。

DAY 1.5

和美国队的选手交流了一下,他们 4 4 个都是华裔,所以交流起来也没什么困难。

我问 Benp: “您哪里挂了?”

Benp: “没挂,就是不会。”

这时旁边的 400iq 用俄文和队友交流:

&%@&@IOI¥%&,@!#%***&!,&(¥……

(“我觉得这一届 IOI 好难,可是zy一直说简单,我也不知道为什么。。。”)

DAY 2

本来还以为第二天会难一点,可是 IOI 科学委员会又让我失望了。

一看 T1,这不是我徒弟 mathew98 出的水题吗?当时我头都气炸了,之前他自信满满的把这题出给我看,我当场就把他的电脑摔地上。你出这么水的题是在侮辱我的智商吗?到时候被全场切可别说你是我的徒弟!

现在倒好,他被我逐出师门之后有开始给 IOI 出题了。

但好歹还是比赛,我花了 2 2 秒钟切掉了它,准备比赛结束后再去跟他算账。

再看 T2,这不是我在飞机上给他们出的第 10 10 题吗?

我当时是故意把最水的题留在最后的,估计那两个人又切了,唉。

再看 T3,好像是 Tarjan 老爷子 2019 年的最新论文,只是一个 𝑂 ( 𝑛 𝑒 𝜋 𝑙 𝑜 𝑔 𝑛 𝑙 𝑜 𝑔 𝑛 ) O(neπlognlogn) 的快速动态图。只写了 2000 2000 行就写完了,完全不过瘾哪!作为一场世界级大赛的压轴题,实现难度这么低实在是太没有区分度了。

现在比赛才开始10分钟,实在是不想提前离场,于是就自己搭了一个 LOL 玩了四个小时五十分钟。

比赛结束了,我装作十分遗憾的样子。

只见 400iq 一脸自信的向我走来,看来也是 AK 了。我上前询问情况,他说自己推了4个小时性质终于找到了 T1 的关键性质,拿到的 50 50 分,基本上 Au 是稳了。

不是,mathew98 这么水的题你没有 1 𝑠 1s 看出结论是怎么当上俄罗斯队长的?

出来一看榜,只有我一个人得分大于 100 100,Benp 状态不佳,虽然他也看过Tarjan 的论文,但是他好像只会 𝑂 ( 𝑛 6 ) O(n 6 ) 的暴力,只拿到 49 49 分的部分分,屈居第三。

DAY n

终于结束了

两天 300 + 300

600 300+300=600

I AK 了 IOI!!!(激动)


茉莉缓缓睁眼,映入眼帘的是那日与她共同被关进镜空间的少年,武神凌见茉莉醒来,欣喜若狂道“茉莉,你醒了!”

茉莉轻轻推开抱住自己的少年,虽不知道他为什么会知道自己的名字,但她仍然回应道“嗯,这是哪儿?我怎么会在这儿。”

武神凌一愣,他只顾着解除她的薇化,却忘了她仍是叶罗丽仙境的仙子,而他依旧是十法相,他握紧了双手,与自己做着无声的斗争。

见他久久不说话,茉莉自己打量起来,这里似曾相识,忽然间她想起这是王默被抓走的地方,想必是薇夫人把她带来了,可他为什么也在这儿,难道是十阶把他抓来的吗?想到这儿她主动握住他的手“你别怕!我会带你出去的。” 看着茉莉坚定的眼神,武神凌艰难开口“茉莉,我其实我就是十阶之一。”听到他坦诚的话,茉莉眼睛睁大,不可置信的看着他,缓步退后。

感受到她的抗拒,武神凌慌忙说道“你别怕,我不会伤害你的。”茉莉低下头,小声问道“那你会放我离开吗。”

武神凌冲上来抓住她的手“人类已经败了,灵犀阁也被封印了,你的伙伴们早已不知所踪,先呆在我身边,我会帮你找到他们。”

听到伙伴们的遭遇,茉莉玫红色的眸子闪过几滴晶莹,那泪水仿佛落在武神凌心上般,他害怕她会离开,好在悲伤席卷了她的心,她才没有发现他拙劣的谎言。 “叶罗丽仙境的仙子怎么也会在这儿。”茉莉闻声抬头,一道带着毁灭性的攻击冲她而来,速度快到她躲避不开。“武魄!”

下一瞬她便被揽入一个坚实的怀抱。“震,被人类掌控的滋味如何?”被提起屈辱的历史后震再次发动攻击,吼道“武神凌,你竟然为了曾经封印了你的人与十阶为敌。”

武神凌抱着茉莉躲过攻击,不屑道“喂,震,我看你真是能力不行脑子也不够用,要不要我教你啊,武魄! 够了。”四阶突然出现挡了二人的攻击,缓缓落地,转过头看向武神凌怀中的茉莉,隔着黑袍虽看不清她的脸,但茉莉仍感受到她打量的目光,不觉将头靠近了武神凌几分,“叶罗丽仙境的仙子,你身上有薇夫人的气息,怎么又会在十阶的手里。”

茉莉抓紧武神凌的衣角,她并未回话,她其实很想问面前的女人,伙伴们是否如武神凌所说一般流落各地,可她不确定面前的女人是否会告诉她,又会不会伤害她。 武神凌将茉莉抱紧几分,隔绝了四阶看她的眼神,“她的薇化是我解的,还有,我的实力是一阶!”四阶冷哼一声,转身离去“我应当提醒十阶,不要成为下一个水王子。”

震在旁边握紧了拳头“这小子只是被外面迷昏了,让我教训教训他!”

四阶侧头看向震“五阶刚从人类手上回来,有这么大的气性不如想想自己怎么失败的。”

武神凌不再理会震,安抚着怀中的人儿,陆陆续续的其他几阶也慢慢回来。 当薇夫人回来看见武神凌怀中抱着人不禁啧啧两声,路过他的身旁时还不忘打趣“小十,战争偶尔也需要休息休息吗?”

武神凌轻嗤“用不着你操心,倒是多谢你将她带回来。”看见他一脸生人勿近,薇夫人摇摇头“真是无趣呢,那就告诉你一个小秘密吧。”感受到来自意识的波动,武神凌一瞬间的愣神,盯着怀中的人,眼神晦暗不明。

不再理会其他人,感受到怀中人的颤抖,武神凌轻轻低头靠近茉莉的耳旁,说道“我带你回我的家好不好?”

茉莉无声的回应着,得到许可后武神凌轻轻的捂住了茉莉的眼睛,手上传来的睫毛微动的触感让武神凌不禁心神一动,强行压下悸动,武神凌捏了回宫殿的法诀。 感受到眼睛上的手移开,茉莉缓缓睁眼,与她想象中的地方不同,茉莉定定的看着巨大宫殿面前的花田,看着像刚种上去的一般,花儿也被种得乱七八糟。茉莉绕开护栏,轻轻扶起一朵茉莉花——这座花田里唯一一朵保存完好的花。“白色会把这里衬得死气沉沉,你应该种些红色,比如玫瑰,热烈鲜艳,生机勃勃。”

武神凌悄然出现在她的背后,顺着她的手握向茉莉花“红色有什么好看的,那些死在小爷戟下的人就是那个颜色,我这里本来就暗无天日,种什么都一样样。”更何况茉莉是你的名字,可这话他只能在心底说。 而茉莉的思绪停留在他杀人的那里,拍开他覆在她手背上的手,似赌气一般茉莉别过头“不珍惜生命,想来你也不需要什么花。”

武神凌听出来了她语气里的怒气,慌忙解释“小爷,阿不,我可没有杀人,我早就被关进去了,我那只是打比方。”见茉莉还是不理自己他又厚着脸皮靠近了几分“喂,你可要信我,我虽然位列十阶,可我很乖的。”

武神凌的热气洒在她的身上,弄红了她的耳朵,茉莉慌忙推开他“嗯,我信你。”被相信后的武神凌心情愉悦,起身拍拍衣角,朝茉莉伸出手“我带你去里面转转。” 武神凌拉着她的手进去了殿内,入目的是被摆放在各处的兵器,以及墙上挂满的铠甲,茉莉看着他神色间的兴奋,哑然失笑“你慢些,这地上东西这么多,摔倒怎么办。”

“你也太瞧不起我了吧,哪有在自己家摔倒的。”

下一瞬不会摔倒的武神凌就被地上的兵器绊倒在地,连带着被他牵着的茉莉也一起倒下去了“啊——”,武神凌将她牢牢护在怀中,茉莉艰难的起身,武神凌的手正放在她的腰上,顾不得害羞,茉莉连忙扶起他“都说了慢些。”武神凌趁机就着她的怀抱倒了下去,嘴角露出一丝狡黠,他当然是故意的。“哎呀,知道了,腰有些疼,直不起身了。”茉莉尽量的将他的重量压在自己的身上,用手帮他按着腰“还真是小孩子呀,我扶你过去坐一下。” 武神凌靠在茉莉瘦弱的肩上,在她看不见的地方笑意更甚。扶他坐好后茉莉看着面前的狼藉,扶额道“这么乱,不摔倒才奇怪吧。”

武神凌不好意思的挠了挠头,毕竟他平时都有将兵器放在别处。看着他窘迫的样子,茉莉低低笑着,随即念了一句“甜滋滋,轻飘飘。”,满地的兵器飞起被放在了凭空出现的架子上,空气中不同于十阶破坏之力的气息灌入武神凌的脑海中,他征征的看着帮他整理宫殿的茉莉,家的感觉吗…… 一切大功告成后茉莉一脸骄傲的站在他的面前“房间就是要整整齐齐才行呀。”武神凌起身抱住了她,“你也太棒了吧”茉莉被突如其来的拥抱再次惹红了脸,那红慢慢遍布全身,如今的她像极了一朵含苞待放娇羞的花朵“你先放开。”武神凌不舍的放开了她,怀中的温热还未随风散尽,酝酿出了两人之间暧昧的气氛。

“这是什么,好漂亮呀。”武神凌顺着茉莉的目光看去是一把剑——他从曾经战场上带回来的胜利品,它的主人是一个女仙子。武神凌施展法术将剑拿过来,这把剑要比寻常的剑小巧精致许多,剑柄处系着一串红色的麦穗。“你喜欢就给你了。”茉莉摇头“我不会这些。” “很简单的,你看就像这样。”武神凌抓过她的手握住了剑柄,带着她在空中划过了一道气流,身后武神凌的吐息落在她的头顶,手上的握感刺激着她的头脑,她不曾与人靠得这般近过。

天色较晚,殿外的风吹过花田,花儿摇摆着,无声控诉着主人的不管不问,窗上两人的身影被月光照映出来。其实武神凌不喜欢剑,他觉得这种兵器短而不够致命,可他想离她近些,如同昔日他看见的那些恩爱难分的夫妻一般。 “不玩了,饿了!”武神凌放开了茉莉的手,瘫在了王座上,茉莉将剑放回了兵器架上,看着王座上颇有几分无赖气息的少年勾了勾嘴角,眼底浮现的是她自己都不曾发现的温柔。

“甜滋滋,轻飘飘。”满桌的美食随着咒语的结束也落在了桌上,茉莉转头看向武神凌“吃饭了。”武神凌抬头,红色的眸子闪过开心“欧耶!”随后冲过来大快朵颐,茉莉被他的快乐感染,不禁感慨“十阶怎么跟个小孩子一样。”这是她第三次觉得他像个孩子,或许强大如他也需要关爱吧。 突然,茉莉想起了主人和伙伴们,眼里也染上了几分悲伤,大家还好吗……武神凌抬头望见了她眼底的忧愁,知道她在想什么,随着茉莉的眼神再次望向他,他又迅速低下头吃东西,不敢再抬头,他第一次像个懦夫一样用卑劣的手段,仅仅是为了留住一个相处不久的仙子。 时间一分一秒的过去,用餐也到达了尾声,茉莉早已靠在桌上睡着了,武神凌吃了最后一块蛋糕,轻轻的抱起她,朝楼上走去,将她放在了他的房中,自己则坐在床边,想将她印在心上。茉莉感受到冷意抓紧了被子,却还是不满足一般朝武神凌靠近,武神凌感受到她的诉求,抓住她的手,躺在她的身边,尽自己最大的努力为她提供热量。

明明那张脸就在他面前不过寸尺的地方,可他仍不敢有过多的越距,这是属于他的神女,岂能被他任意染指。

斗地主:这里
规则怪谈:这里

Luogu 优化插件

CSP2024全国迷惑行为大赏合集

工具 TOOLS\texttt{{\large \color{52C41A}工具 TOOLS}}

洛谷脚本 LUOGU SCRIPTS\texttt{{\large \color{52C41A}洛谷脚本 LUOGU SCRIPTS}}

做题相关 ABOUT PROBELMS\texttt{{\large \color{52C41A}做题相关 ABOUT PROBELMS}}

有用的网站 USEFUL WEBSIDES\texttt{{\large \color{52C41A}有用的网站 USEFUL WEBSIDES}}

资料 MATERIALS\texttt{{\large \color{52C41A}资料 MATERIALS}}

摸鱼 FISHING\texttt{{\large \color{52C41A}摸鱼 FISHING}}

测试 TESTS\texttt{{\large \color{52C41A}测试 TESTS}}

游戏 GAMES\texttt{{\large \color{52C41A}游戏 GAMES}}

代码
                                                        顶顶顶顶
                                                顶顶顶顶顶顶顶顶顶
                                    顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
                                顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
                      顶顶顶顶  顶顶顶顶顶顶顶顶顶顶顶
                顶顶顶顶顶顶顶  顶顶顶    顶顶顶顶顶
      顶顶顶顶顶顶顶顶顶顶顶顶            顶顶顶顶
  顶顶顶顶顶顶顶顶顶顶顶顶顶顶            顶顶顶顶
  顶顶顶顶顶顶顶顶顶顶顶顶              顶顶顶顶顶顶顶顶顶顶顶
  顶顶顶顶顶顶顶顶顶顶顶顶            顶顶顶顶顶顶顶顶顶顶顶顶顶顶
    顶顶顶顶顶顶顶顶顶顶          顶顶顶顶顶顶      顶顶顶顶顶顶顶
                顶顶顶顶          顶顶顶顶            顶顶顶顶顶
                顶顶顶顶        顶顶顶顶    顶顶      顶顶顶顶顶
                顶顶顶顶        顶顶顶顶    顶顶顶顶  顶顶顶顶顶
                顶顶顶顶        顶顶顶顶    顶顶顶顶  顶顶顶顶顶
                顶顶顶顶        顶顶顶顶    顶顶顶    顶顶顶顶顶
                顶顶顶顶        顶顶顶顶    顶顶顶    顶顶顶顶顶
                顶顶顶顶        顶顶顶顶  顶顶顶顶    顶顶顶顶顶
                顶顶顶顶        顶顶顶顶  顶顶顶顶    顶顶顶顶顶
                顶顶顶顶        顶顶顶顶  顶顶顶顶    顶顶顶顶顶
                顶顶顶顶        顶顶顶顶  顶顶顶顶    顶顶顶顶顶
                顶顶顶顶        顶顶顶    顶顶顶顶    顶顶顶顶顶
    顶顶      顶顶顶顶顶        顶顶顶    顶顶顶      顶顶顶顶顶
    顶顶顶顶顶顶顶顶顶顶          顶顶    顶顶        顶顶顶顶顶
      顶顶顶顶顶顶顶顶顶                顶顶顶        顶顶顶顶
          顶顶顶顶顶顶顶                顶顶顶  顶顶顶顶
            顶顶顶顶顶顶              顶顶顶顶    顶顶顶顶
                  顶顶顶            顶顶顶顶顶      顶顶顶顶顶顶顶
                                顶顶顶顶顶顶          顶顶顶顶顶顶
                              顶顶顶顶顶顶            顶顶顶顶顶顶顶
                            顶顶顶顶顶                  顶顶顶顶顶顶
                          顶顶顶顶顶                      顶顶顶顶
                        顶顶顶                              顶顶顶

◄ ⁣▀▀▀▀▀▀▀▀ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣To Be Continued ⁣   ⁣ ⁣▲ ⁣ ⁣ ⁣ ⁣  ⁣▏ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣▼ ⁣ ⁣ ⁣ ⁣  ⁣ ⁣▼ ⁣ ⁣ ⁣ ⁣ ⁣   ⁣▏\color{black}\Huge{◄}\!\Large{▀▀▀▀▀▀▀▀}\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!^{\small\color{white}\textit{To Be Continued}\!\ \ \!\!\Large\color{black}▲\color{white}\!\!\!\!\:\!▏\large\!\!\!\!\!\!\color{black}▼\!\!\!\!\:\!\!▼\color{white}\!\!\!\!\!\;\!▏}

洛谷相关颜色参考表 \boxed{\color{Gold}\LARGE\text{洛谷相关颜色参考表}} 颜色十六进制RGB值颜色十六进制RGB值AC绿52C41A(82,196,26)入门红FE4C61(254,76,97)WA红E74C3C(231,76,60)普及-橙F39C11(243,156,17)RE紫9D3DCF(157,61,207)普及黄FFC116(255,193,22)CE黄FADB14(250,219,20)普及+提高 绿52C41A(82,196,26)TLE黑052242(5,34,66)提高+省选-蓝3498DB(52,152,219)MLE黑052242(5,34,66)省选紫9D3DCF(157,61,207)OLE黑052242(5,34,66)NOI黑0E1D69(14,39,105)UKE蓝0E1D69(14,29,105)未评定灰BFBFBF(191,191,191)紫名8E44AD(142,68,173)排行绿52C41A(82,196,26)红名E74C3C(231,76,60)排行橙F39C11(243,156,17)橙名E67E22(230,126,34)排行黄FADB14(250,219,20)绿名5EB95E(94,185,94)排行红E74C3C(231,76,60)蓝名0E90D2(14,144,210)通过钩绿52C41A(82,196,26)灰名BFBFBF(191,191,191)不通过叉红E74C3C(231,76,60)吉利红E74C3C(231,76,60)官方比赛红E74C3C(231,76,60)中平绿5EB95E(94,185,94)团队比赛绿054310(5,67,16)凶兆黑000000(0,0,0)个人比赛蓝3498DB(52,152,219)ACM制紫8E44AD(142,68,173)Rated绿5EB95E(94,185,94)IOI制黄F1C40F(241,196,15)未开始绿5EB95E(94,185,94)乐多制黄F1C40F(241,196,15)已结束红E74C3C(231,76,60)OI制橙F39C11(243,156,17)进行中*4290D8(66,144,216)背景灰EFEFEF(239, 239, 239)小字灰7F7F7F(127,127,127)按钮蓝0E90D2(14,144,210)链接蓝3498DB(52,152,219)按钮红DD514C(221,81,76)通过率蓝3498DB(52,152,219)金钩黄FFE169(255,225,105)背景粉F5CECD(245,206,205)绿钩绿5EB95E(94,185,94)背景绿C9E7C9(201,231,201)蓝钩蓝3498DB(52,152,219)背景蓝CAEBFB(202,235,251)题目来源蓝3498DB(52,152,219)灰色7F7F7F(127,127,127)题目算法红E74C3C(231,76,60)白色FFFFFF(255,255,255)题目地点绿52C41A(82,196,26)黑色000000(0,0,0)\def\arraystretch{1.2} \begin{array}{|c|l|l||c|l|l|} \hline 颜色 & 十六进制 & RGB值 & 颜色 & 十六进制 & RGB值 \\ \hline \color{#52C41A}\text{AC绿} & \text{52C41A} & \text{(82,196,26)} & \color{#FE4C61}\text{入门红} & \text{FE4C61} & \text{(254,76,97)} \\ \hline \color{#E74C3C}\text{WA红} & \text{E74C3C} & \text{(231,76,60)} & \color{#F39C11}\text{普及-橙} & \text{F39C11} & \text{(243,156,17)} \\ \hline \color{#9D3DCF}\text{RE紫} & \text{9D3DCF} & \text{(157,61,207)} & \color{#FFC116}\text{普及黄} & \text{FFC116} & \text{(255,193,22)}\\ \hline \color{#FADB14}\text{CE黄} & \text{FADB14} & \text{(250,219,20)} & \color{#52C41A}\text{普及+提高 绿} & \text{52C41A} & \text{(82,196,26)} \\ \hline \color{#052242}\text{TLE黑} & \text{052242} & \text{(5,34,66)} & \color{#3498DB}\text{提高+省选-蓝} & \text{3498DB} & \text{(52,152,219)} \\ \hline \color{#052242}\text{MLE黑} & \text{052242} & \text{(5,34,66)} & \color{#9D3DCF}\text{省选紫} & \text{9D3DCF} & \text{(157,61,207)} \\ \hline \color{#052242}\text{OLE黑} & \text{052242} & \text{(5,34,66)} & \color{#0E1D69}\text{NOI黑} & \text{0E1D69} & \text{(14,39,105)} \\ \hline \color{#0E1D69}\text{UKE蓝} & \text{0E1D69} & \text{(14,29,105)} & \color{#BFBFBF}\text{未评定灰} & \text{BFBFBF} & \text{(191,191,191)} \\ \hline \hline \color{#8E44AD}\text{紫名} & \text{8E44AD} & \text{(142,68,173)} & \color{#52C41A}\text{排行绿} & \text{52C41A} & \text{(82,196,26)} \\ \hline \color{#E74C3C}\text{红名} & \text{E74C3C} & \text{(231,76,60)} & \color{#F39C11}\text{排行橙} & \text{F39C11} & \text{(243,156,17)} \\ \hline \color{#E67E22}\text{橙名} & \text{E67E22} & \text{(230,126,34)} & \color{#FADB14}\text{排行黄} & \text{FADB14} & \text{(250,219,20)} \\ \hline \color{#5EB95E}\text{绿名} & \text{5EB95E} & \text{(94,185,94)} & \color{#E74C3C}\text{排行红} & \text{E74C3C} & \text{(231,76,60)}\\ \hline \color{#0E90D2}\text{蓝名} & \text{0E90D2} & \text{(14,144,210)} & \color{#52C41A}\text{通过钩绿} & \text{52C41A} & \text{(82,196,26)} \\ \hline \color{#BFBFBF}\text{灰名} & \text{BFBFBF} & \text{(191,191,191)} & \color{#E74C3C}\text{不通过叉红} & \text{E74C3C} & \text{(231,76,60)} \\ \hline \hline \color{#E74C3C}\text{吉利红} & \text{E74C3C} & \text{(231,76,60)} & \color{#E74C3C}\text{官方比赛红} & \text{E74C3C} & \text{(231,76,60)} \\ \hline \color{#5EB95E}\text{中平绿} & \text{5EB95E} & \text{(94,185,94)} & \color{#054310}\text{团队比赛绿} & \text{054310} & \text{(5,67,16)} \\ \hline \color{#000000}\text{凶兆黑} & \text{000000} & \text{(0,0,0)} & \color{#3498DB}\text{个人比赛蓝} & \text{3498DB} & \text{(52,152,219)} \\ \hline \hline \color{#8E44AD}\text{ACM制紫} & \text{8E44AD} & \text{(142,68,173)} & \color{#5EB95E}\text{Rated绿} & \text{5EB95E} & \text{(94,185,94)} \\ \hline \color{#F1C40F}\text{IOI制黄} & \text{F1C40F} & \text{(241,196,15)} & \color{#5EB95E}\text{未开始绿} & \text{5EB95E} & \text{(94,185,94)} \\ \hline \color{#F1C40F}\text{乐多制黄} & \text{F1C40F} & \text{(241,196,15)} & \color{#E74C3C}\text{已结束红} & \text{E74C3C} & \text{(231,76,60)} \\ \hline \color{#F39C11}\text{OI制橙} & \text{F39C11} & \text{(243,156,17)} & \color{#4290D8}\text{进行中*} & \text{4290D8} & \text{(66,144,216)} \\ \hline \hline \color{#EFEFEF}\text{背景灰} & \text{EFEFEF} & \text{(239, 239, 239)} & \color{#7F7F7F}\text{小字灰} & \text{7F7F7F} & \text{(127,127,127)} \\ \hline \hline \color{#0E90D2}\text{按钮蓝} & \text{0E90D2} & \text{(14,144,210)} & \color{#3498DB}\text{链接蓝} & \text{3498DB} & \text{(52,152,219)} \\ \hline \color{#DD514C}\text{按钮红} & \text{DD514C} & \text{(221,81,76)} & \color{#3498DB}\text{通过率蓝} & \text{3498DB} & \text{(52,152,219)} \\ \hline \hline \color{#FFE169}\text{金钩黄} & \text{FFE169} & \text{(255,225,105)} & \color{#F5CECD}\text{背景粉} & \text{F5CECD} & \text{(245,206,205)} \\ \hline \color{#5EB95E}\text{绿钩绿} & \text{5EB95E} & \text{(94,185,94)} & \color{#C9E7C9}\text{背景绿} & \text{C9E7C9} & \text{(201,231,201)} \\ \hline \color{#3498DB}\text{蓝钩蓝} & \text{3498DB} & \text{(52,152,219)} & \color{#CAEBFB}\text{背景蓝} & \text{CAEBFB} & \text{(202,235,251)} \\ \hline \hline \color{#3498DB}\text{题目来源蓝} & \text{3498DB} & \text{(52,152,219)} &\color{#7F7F7F}\text{灰色} & \text{7F7F7F} & \text{(127,127,127)} \\ \hline \color{#E74C3C}\text{题目算法红} & \text{E74C3C} & \text{(231,76,60)}& \color{#FFFFFF}\text{白色} & \text{FFFFFF} & \text{(255,255,255)} \\ \hline \color{#52C41A}\text{题目地点绿} & \text{52C41A} & \text{(82,196,26)}& \color{#000000}\text{黑色} & \text{000000} & \text{(0,0,0)} \\ \hline \end{array}

精选游戏

(我才不会告诉你大多数都是从网上抄的)

更多游戏(比这个更多)

5星推荐:精品游戏(10)

沙盒游戏

考验智商的游戏

I AK IOI

谷歌小恐龙升级版

一堆优质C++小游戏

c++控制台game集合

聪明人才能通关的游戏 || 攻略

信任的进化(超推荐)

digdig

用键盘弹钢琴

玩物理大师专属游戏(超好玩)

为其他物理大师设计游戏

“进化”

太空公司

4星推荐:质量较高(15)

一堆散装游戏

一个放了很多游戏链接的个人主页

策略空战游戏

小黑屋(一定要耐心玩下去,可存档)

太空放置游戏

一堆好游戏

人生重开模拟器(附赠破解版)&另一个破解版

另一个版本的人生重开模拟器

墙裂推荐游戏(不能存档)

小io的游戏集

HTML5网页游戏HTML5

小yorg游戏

加法版2048

元素版2048

加大版2048

冒险者

3星推荐:一般推荐(9)

超级马里奥

解压水果合成游戏

太空公司(可存档)

C++小游戏(特别多)

另一坨C++小游戏

装13必备黑客模拟器

名称竞技场

洛谷著名游戏(网址编号114514可还行)

2.5星专区:奇怪的游戏(6)

一个奇怪的个人主页

一个奇怪的讨论帖

一堆奇怪的链接

一段奇怪的个人简介

一个奇怪的云剪贴板

一个神秘的游戏

游戏区

贪吃蛇

占领游戏

坦克大作战

塔防游戏

末日求生

碰碰对战

流星锤大作战

领地小游戏

球球大作战

挖地小游戏

收集卡片小游戏

人生重开模拟器

万宁五子棋

万宁象棋

万宁台球

万宁五子棋2

https://www.luogu.com/user/720107

https://www.luogu.com/paste/730hrk12 https://www.luogu.com.cn/article/1kjovh7o https://www.luogu.com.cn/article/5jw2wcb8 https://www.luogu.com.cn/article/zl6c1ibw https://www.luogu.com.cn/article/rioe25qa

投票

骗分导论

看看

在洛谷,你甚至可以看猫和老鼠

童话镇 Coding life

听说津津为课程烦恼 金明一家住进了新房

听说丁丁玩数字游戏 火柴棒能搭出新天地

听说校门外正在砍树 大家一起做靶形数独

听说旅行者在赚差价 潜伏者正在破译着密码

只有无尽的代码知道 津津摆脱了学习的烦恼

金明开心地走进商店 挑选着书桌和电脑

总有一种算法能够让你成功拿到分

无论是贪心还是动规 或者将答案二分

思如泉涌掀起波涛 又汇成一个新的算法

让所有TLE 所有MLE 激励着我们前行写代码

听说同学们在玩推理 小Z的袜子总配不齐

听说两人在挑选客栈 火星上有条能量项链

听说陶陶在采摘苹果 一只青蛙要从河边过

听说推销员走入胡同 杰瑞爬进了奶酪的小洞

只有无尽的代码知道 同学们男女配对练起了 舞蹈

小Z把他的袜子找到 AK了无数机房

屏幕微微发亮 思想在虚树路径彷徨

平面的向量交错生长 织成忧伤的网

剪枝剪去我们的疯狂 SPFA告诉我前途何方

01背包装下了忧伤 笑颜洋溢脸庞

洛谷词典(持续更新)

刷新可增加RP!

2023,11,20开始

    i  欢迎来到我的主页 \color{#00B8D4} \rule{2pt}{44pt} \color{#E5F8FB} \rule[24pt]{190pt}{20pt} \color{#e8e8e8}\rule{0.5pt}{44pt} \color{#f5f5f5}\rule{0.5pt}{44pt} \color{#fafafa}\rule{0.5pt}{44pt} \kern{-190pt}\kern{-1.5pt} \color{#bfbfbf}\rule[0pt]{190pt}{0pt}\kern{-190pt} \color{#d6d6d6}\rule[-0.5pt]{190pt}{0pt}\kern{-190pt} \color{#ececec}\rule[-1pt]{190pt}{0pt}\kern{-190pt} \color{#f8f8f8}\rule[-1.5pt]{190pt}{0pt}\kern{-190pt} \color{black} \raisebox{24pt}{ \raisebox{6pt}{ \kern{-1pt} \color{#00B8D4}\large{\kern{2pt}\bf{i}\kern{5.5pt}} \raisebox{1.5pt}{ \color{#404040}\footnotesize \kern{-4pt}\sf\bf{欢迎来到我的主页} }}}\kern{-200pt}. 小秘密:\kern{4pt}\raisebox{10pt}{\footnotesize\sf{小秘密:}} 您是神犇 \def\w{130pt} \def\h{18pt} \color{#E4E7E8} \rule[3pt]{0.1pt}{\h}\kern{-0.5pt} \rule[21pt]{\w}{0pt} \rule[3pt]{0.1pt}{\h}\kern{-\w} \color{#0067C0} \rule[3pt]{\w}{0.5pt}\kern{-\w} \color{#616161} \raisebox{10.2pt} {\scriptsize\sf\kern{5pt}您是神犇 }

    ∙    i  警告 此人太犇了,请小心      ∙    i  提醒 近墨者黑      ∙    ×  请勿 膜拜我      ∙    √  应该 电摇嘲讽并踩爆这个神犇  % w, h, fillcol, bordercol \newcommand\BorderRect[4]{ \color{#3}\rule{#1}{#2}\kern{-#1} \color{#4}\rule{0.5px}{#2}\kern{-0.5px} \rule{#1}{0px}\rule{0.5px}{#2}\kern{-0.5px} \kern{-#1}\rule[#2]{#1}{0px} } % w, h, title, subtitle, fillcol, iconch ,iconcol \newcommand\BasicInfoBarFather[8]{ \BorderRect{#1}{#2}{#5}{ghostwhite} \kern{-#1} \raisebox{#2}{ \raisebox{-26pt}{ \color{black}\kern{-4px} \raisebox{7px}{ \color{#7}\Huge{∙}\kern{-1px} } \raisebox{10.6px}{ \kern{-20.2px} \color{white}\scriptsize\textbf{#6} } \kern{-7px}\footnotesize \raisebox{10.2px}{\textbf{\textsf{\color{#8}#3}}}\kern{2px} \raisebox{10.2px}{\textsf{#4}} } } } \def\BasicInfoBarColorFill{#F4F4F4}\def\BasicInfoBarColorIcon{#0078D4} \def\BasicWarnBarColorFill{#FFF4CE}\def\BasicWarnBarColorIcon{#9D5D00} \def\BasicOkBarColorFill{#DFF6DD}\def\BasicOkBarColorIcon{#0F7B0F} \def\BasicErrBarColorFill{#FDE7E9}\def\BasicErrBarColorIcon{#C42B1C} \newcommand\BasicInfoBar[5]{ \BasicInfoBarFather{#1}{#2}{#3}{#4} {\BasicInfoBarColorFill}{i}{\BasicInfoBarColorIcon}{\BasicInfoBarColorIcon} } \newcommand\BasicWarnBar[5]{ \BasicInfoBarFather{#1}{#2}{#3}{#4} {\BasicWarnBarColorFill}{i}{\BasicWarnBarColorIcon}{\BasicWarnBarColorIcon} } \newcommand\BasicOkBar[5]{ \BasicInfoBarFather{#1}{#2}{#3}{#4} {\BasicOkBarColorFill} {\tiny\kern{-2px}\raisebox{0.8px}{√}} {\BasicOkBarColorIcon}{\BasicOkBarColorIcon} } \newcommand\BasicErrBar[5]{ \BasicInfoBarFather{#1}{#2}{#3}{#4} {\BasicErrBarColorFill} {\kern{-2px}\raisebox{0.6px}{×}} {\BasicErrBarColorIcon}{\BasicErrBarColorIcon} } \BasicWarnBar{200px}{26px}{警告}{此人太犇了,请小心}{#000000}\\ \BasicInfoBar{200px}{26px}{提醒}{近墨者黑}{#000000}\\ \BasicErrBar{200px}{26px}{请勿}{膜拜我}{#000000}\\ \BasicOkBar{200px}{26px}{应该}{电摇嘲讽并踩爆这个神犇}{#000000}\\


本人的萌 新QAQ是刚学OI但是是这样即使我也声音大 声喊出要用蒟蒻的IOIAKI\small\texttt{\color{#FA4129}本}\huge\texttt{\color{#FE9019}人}_{\small\texttt{\color{#FFE304}的}^{\large\texttt{\color{#FFEC01}萌 \color{#FFF900}新}\small\texttt{\color{#FCFB03}Q\color{#F8FB07}A\color{#F1FB0B}Q}}}^{\large\texttt{\color{#FFB511}是}{\small\texttt{\color{#FFDC07}刚\color{#FFEF00}学}\large\texttt{\color{#FFF600}O\color{#FFFA00}I}}} \huge\texttt{\color{#E6F911}但\color{#92E82F}是}^{\large\texttt{\color{#39D54B}即}{\small\texttt{\color{#03C767}使}}}_{\normalsize\text{\color{#07C964}是\color{#00C789}这\color{#00C7A5}样}}\texttt{\color{#00CBC6}我\color{#00D0EB}也}^{\small\texttt{\color{#00D0F2}要}\normalsize\texttt{\color{#00D0F6}用} \texttt{\color{#03BEF4}蒟}_{\texttt{\color{#04AAEF}蒻}\large\texttt{\color{#078DE4}的}}}_{\scriptsize\texttt{\color{#01CDF6}声\color{#03C2F5}音\color{#04B4F2}大 \color{#04A7EE}声\color{#0791E6}喊\color{#0A7BDD}出}}\mathcal{\color{#125BCD}IOI \color{#3D2AB5}AK\color{#A011AD}I}

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

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

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

WA是一种绝望,TLE是一种痛苦

RE是一种放弃,UKE是一种无奈

AC是一种原谅,AK是一种幻想

弃赛是一种颓废,吊打是一种必然

进队是一种奢望,NOI是一种梦想

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

数学先打表,DP看运气。

穷举TLE,递推UKE。

模拟MLE,贪心还CE。

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

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

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

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

《红名》\color{red}\text{《红名》}

“名字?”

“QAQ__”

“年龄?”

“**岁。”

“什么错误?”

“TLE。”

kkk程序员站起身熟练地打开病人的代码。他愣住了,蓝色的眼睛里闪出惊疑的神情。他重新审视着眼前这个人,冷冷地问:“你的洛谷名是什么颜色的?”

“蓝色。”

“你是红名!”kkk程序员一针见血地说,“我当过管理员 (其实现在也是),这么多的代码,只有红名大佬才写的出来!”

病人微微一笑,说:“kkk程序员,你说我是红名,我就是红名吧。”

kkk程序员的目光柔和了,他吩咐同事:“准备改BUG。”

kkk程序员正在换工作服,同事跑来,低声告诉他病人拒绝使用O2优化。kkk程序员的眉毛扬了起来,他走进机房,生气地说:“年轻人,在这儿要听程序员的指挥!”

病人平静地回答:“kkk程序员,O2优化离头文件太近,我担心施行O2优化会影响头文件。而我,今后需要一个非常好用的头文件!”

kkk程序员再一次愣住了,竟有点口吃地说:“你,你能忍受吗?你的程序需要加上无数个剪枝,把原先的代码和你改的代码全部删掉!”

“试试看吧。”

电脑前,一向从容镇定的kkk程序员,这次双手却有些颤抖,他额上汗珠滚滚,同事帮他擦了一次又一次。最后他忍不住开口对病人说:“你挺不住可以哼叫。”

病人一声不吭,双手紧紧抓住身下的白床单,手背青筋暴起,汗如雨下。他越来越使劲,崭新的白床单居然被抓破了。(注:原因是因为不愿意看到自己的代码被改)

脱去工作服的kkk程序员擦着汗走过来,由衷地说:“年轻人,我真担心你会WA过去。”

病人脸色苍白。他勉强一笑,说:“我一直在数你的改的行数。”

kkk程序员吓了一跳,不相信地问:“我改了多少行?”

“2^6行。”

kkk程序员惊呆了,大声嚷道:“你是一个真正的OIer,一个会写代码的神犇!你堪称管理员!”

“你过奖了。”

kkk程序员的脸上浮出慈祥的神情。他想说什么又忍住了,挥手让同事出去,然后关上机房的门,注视着病人,说:“告诉我,你的真名叫什么?”

“chen_zhe。”

kkk程序员肃然起敬:“啊,AK IOI的神犇,久仰久仰,认识你很荣幸。”chen_zhe友好地把手伸了过去。

**刘备、诸葛亮、孙权和曹操坐飞机出去旅游,遇上事故,却只有三个降落伞。诸葛亮提议:“我提问,你们回答,谁答不上来就没有降落伞。”三人同意。问刘备:“天上有几个太阳?”“一个。”问孙权:“有几个月亮?”“一个。”问曹操:“有几个星星?”“……”曹操被扔了下去。

曹操上次命大,没摔死,四人再次一起出行。遇同样问题。诸葛亮问刘备:“武王伐纣最关键的战役是什么?”“牧野之战。”问孙权:“大概死了多少人?”“四五万。”问曹操:“死的人都叫什么?”“……”曹操再次被扔出去。

曹操又没摔死,四人再次出门。飞机再次出现事故。曹操想,反正也是我出去,干脆我自己跳下去吧!曹操跳后,诸葛亮纳闷:“这次带了4个降落伞,他怎么跳下去了?”

曹操又没有摔死,四人继续同行,又遇飞机故障,孔明首问刘备:“树上七(骑)个猴,地下一个猴,一共几个猴?”正当刘皇叔思索之际,曹操抢答:“如果是七个共是八个猴,如果是骑着一个共是两只猴。”刘、孙面面相觑,孔明目瞪口呆,得意中曹背起唯一的伞包,双手一抱拳说了一句“撒油那拉”,纵身跳下。 此时机械师从舱底爬出说道:“故障已排除。你们谁看见我的工具包了?…”

欢迎来到蒟蒻的空间QWQ 大佬名言: 解决了提出问题的人,问题就解决了! 刷题是一种出路,枚举是一种思想,打表是一种勇气,搜索是一种信仰,剪枝是一种精神,骗分是一种日常,爆零是一种宿命,WA是一种绝望,TLE是一种痛苦,RE是一种放弃,UKE是一种无奈,AC是一种原谅,AK是一种幻想,弃赛是一种颓废,吊打是一种必然,进队是一种奢望,NOI是一种梦想! 北冥有鱼,其名为鲲。鲲之大,long long 存不下。化而为鸟,其名为鹏。鹏之大,高精会爆炸。 程不在长,能过则行。码不在多,无虫则灵。斯是信竞,惟吾爆零。线段维护快,树状跳的勤。数论剩余系,图论前向星。无数竞之推理,无物竞之劳形。大佬XXX,毒瘤YYY,神犇云:您太强!

老师问小明:“1+1=?”小明不知道,老师让他回去问

一回家,小明就问他爸,他爸正在看恐怖电影,随口答:“在一片漆黑的森林”

小明又去问爷爷,爷爷在看新闻,说:“居然死了个人”

他又去问哥哥,哥哥在看球赛,激动地叫:“姚明!姚明!”

他又去问妈妈,妈妈在切菜:“左一刀,右一刀,上一刀,下一刀”

他又去问姐姐,姐姐哭丧着脸:“他抢我橡皮!”

他又去问婶婶,她被甩了,撕心裂肺地喊:“不要啊老公!”

他又去问奶奶,奶奶在哼歌:“那就是青藏高原”

第二天,老师又问小明:“1+1=?”

小明答“在一片漆黑的森林”老师:“怎么了?”

小明:“居然杀了个人”老师:“谁?”

小明:“姚明!姚明!”老师:“怎么杀的?”

小明:“左一刀,右一刀,上一刀,下一刀”

老师:“为什么杀他?” “他抢我橡皮”

老师:“……你给我出去!” 小明:“不要啊老公!”

“说!你家长在哪!”小明:“哪就在~青藏~高~原~~”

催逝员白话文版: **老冯: 啊~哈哈哈哈哈,寄汤来喽!这,这,这都菜都齐了,怎么还不吃啊?

王大队长: 老冯,大伙儿都不敢吃,有人说,说是有人在菜里下了毒。

老冯: 害羞羞,王大队长,你这人就喜欢开玩笑。哎呀,快趁热吃吧,我不打扰,我走了。

薛司令: 你不能走。

老冯: 屑司令,你不会相信王大队长胡说八道吧?

薛司令: 我信,我非常相信。

老冯: 司令,怎么,怎么你也喜欢开玩笑啊。

薛司令: 你要是没放毒,你就把这碗鸡汤喝了。

老冯: 司令,这鸡汤,十分的枕贵,应该让同志们先喝。我这一个催逝员,怎么能喝这鸡汤呢。

薛司令: 你看你忙里忙外的,多辛苦啊。喝碗鸡汤算什么呀。你要是真不喝,说明你真下毒了。

老冯: 这,这不对吧?这今天谁,谁要陷害我?王大队长,你要陷害我是吧?行,我喝,喝!我喝,我喝。哎呀,这喝汤,多是一件美逝啊。

老冯: 不氙不氮,味道真是好极了。司令,看看没逝吧。喝吧,趁热喝吧。

老冯: 司令,你得带个头。你要不带头喝,他,他们怎么能,能敢喝呢。

老冯: 都都,都看我干什么?喝呀,喝呀。快,快,趁热喝。

老冯: 甜腻腻的,为什么不喝?喝!喝!不喝、不喝是吧?不喝,不喝我就炸死你!

老冯: 都不敢喝,都怕死侍吧?我告诉你,不喝?不喝也白想活着!既然大家都知道了,这戏我就不演了!我就是大明顶顶的重庆军桶,和带日本帝国双料高级特工,代号:氚钐钾。毒笑仙是我放的,这鸡汤里边的毒,我也放了。不过这鸡汤我喝了,我肯定得死,你们不喝,也白想活着!龟野先生,天皇陛下!我滴任务完成啦!(拉手榴弹,扬雾运动)啊哈哈哈哈哈哈哈……

老冯: 暖暖的!给我玩阴的是吧?姐姐来吧!(逝世)**

游戏

粘贴运行试试

florr专区

代码
/**
 *                             _ooOoo_
 *                            o8888888o
 *                            88" . "88
 *                            (| -_- |)
 *                            O\  =  /O
 *                         ____/`---'\____
 *                       .'  \\|     |//  `.
 *                      /  \\|||  :  |||//  \
 *                     /  _||||| -:- |||||-  \
 *                     |   | \\\  -  /// |   |
 *                     | \_|  ''\---/''  |   |
 *                     \  .-\__  `-`  ___/-. /
 *                   ___`. .'  /--.--\  `. . __
 *                ."" '<  `.___\_<|>_/___.'  >'"".
 *               | | :  `- \`.;`\ _ /`;.`/ - ` : | |
 *               \  \ `-.   \_ __\ /__ _/   .-` /  /
 *          ======`-.____`-.___\_____/___.-`____.-'======
 *                             `=---='
 *          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 *                     佛祖保佑        永无BUG
 *            佛曰:
 *                   写字楼里写字间,写字间里程序员;
 *                   程序人员写程序,又拿程序换酒钱。
 *                   酒醒只在网上坐,酒醉还来网下眠;
 *                   酒醉酒醒日复日,网上网下年复年。
 *                   但愿老死电脑间,不愿鞠躬老板前;
 *                   奔驰宝马贵者趣,公交自行程序员。
 *                   别人笑我忒疯癫,我笑自己命太贱;
 */

全网总结最全的多倍经验题

满级预言 1.你不可能强迫自己用肥皂水洗眼睛

2.你不可能竖起耳朵

3.你不可能一边把舌头吐出来一边用鼻子呼吸

4.你刚刚偷偷试第三项

6.你试了第三项之后发现明明就可以,只是看起来像条狗

7.你现在很生气, 因为你发现自己被整了

8.你刚没有读到第五项

9.你刚刚往上看了一眼

10.你会复制粘贴这段话拿去整别人

11.你还在看

12.你笑了

13.第八也没有,你信吗

14.你又往上看了**

https://oi-wiki.org/ https://www.luogu.com/user/931664


放弃是15笔,坚持是16笔,而你,我的朋友,是人,所以是2B

放弃是15笔,坚持是16笔,所以放弃和坚持之间差了个B


上课时: 诸葛亮草船借箭 诸葛亮草船借箭 诸葛亮草船借箭 考试时: 诸葛亮女儿犯贱 诸葛亮儿子早恋 诸葛亮生无可恋


Windows Defender无敌了


你 被 骗 了


我爱听的音乐

  • 常用网址:

  1. OI Wiki
  2. c++参考手册
  3. oier 搜索引擎、洛谷帖子保存
  4. LaTeX\LaTeX公式编辑器、LaTeX\LaTeX公式大全、题解审核、常用LaTeX\LaTeX、颜色对照 LaTeX\LaTeX大全
  5. 信奥一本通OJ、Atcoder、CodeForces
  6. noi官网、noi报名系统
  7. CSDN博客
  8. chatGPT镜像
  9. Lightly在线IDE
  10. vsc 配置器
  11. 杂项:工具箱、OierDb、Luogu-User-Card 、API Generator、绘图工具、连点器、发github博客、luogu-dictionary、cid

外面找的实用的一些东西:

删犇器、cid、网页 vip 视频解析下载、vscode 基础教程 、如何出数据、OIso指南、lemon、解决 vscode 运行一闪而过的问题

OIer 必须知道的编程技巧

NOI 系列赛常见技术问题整理

pbds pbds-2

FastIO

  • vector: emplace_back() distance() reserve() max_element() min_element() assign()

std::stable_partition() click

https://www.luogu.com.cn/paste/my16f9md

int 转 string:to_string(a) string 转 int:atoi(s.c_str())

字符串数字转化 iota atoi

C++
#include<bits/stdc++.h>
using namespace std;
signed main(){
	unordered_map<vector<int>*,int> mp;
	vector<int> vec{1,1};
	mp[&vec]=2;
	cout<<mp[&vec];
}

vector<int>* f(){
	vector<int> a;
	...
	return &a;
}
main(){
	vector<int> *b=f();
}

int* f(){
	int a[100];
	...
	return a;
}
main(){
	int *b=f();
}

STL:

  • count()

  • binary_search()

  • __builtin_clz() __builtin_ctz()

  • next_permutation 实现枚举数组全排列,返回值 bool 类型,代表还有没有比当前还大的字典序。

C++
vector<int> a={1,2,3,4};
do{
	for(auto x : a){
		printf("%d ",x);
	}
	putchar('\n');
}while(next_permutation(a.begin(),a.end()));
  • lower_bound:大于等于目标元素的下标最小的元素的地址。upper_bound:大于目标元素的下标最小的元素的地址。用之前先排序。
C++
int k,k2,a[]={0,33,44,55,67,69};
k=lower_bound(a+1,a+1+5,44)-a; // 2,大于等于
k2=upper_bound(a+1,a+1+5,44)-a; // 3,大于
cout<<k<<" "<<k2;

再见极域

云剪贴板

cz:2019年CCF还没想出花招来,所以暂停一届,2020年开始就恢复了,开始变相性的收费。

你说的对,但是《NTT》是由原根自主研发的一款全新开放刷题冒险游戏。游戏发生在一个被称作「多项式」的幻想世界,在这里,被 CCF 选中的人将被授予「C++」,导引代码之力。你将扮演一位名为「OIER」的神秘角色,在自由的旅行中邂逅性格各异、能力独特的同伴们,和他们一起击败多项式,找回失散的时间复杂度——同时,逐步发掘「NTT」的真相。

发布会

数论

每日讲题合辑(新手可以照着学,讲得比较详细,但更新较慢)

洛谷月赛&公开赛统计表(不完全)

拜谢3k!

这是个大问题!!!(神贴)

&#x202E; 可以倒转字体~

我的师哥,但我是插班生QAQ

水题指南

原主页太挤,迁移了。

Page I Page II Page III

新版洛谷保存站

AT 题目统计

如何开数组

nn 倍经验!

暂存

神贴sohasofa

获取他人主页源代码

优质题单

不错的OJ

震惊!3k在讨论区宣传团队!

六倍经验

网址:

CHATGPT |周报站|Rainbow|兔队女装了!|洛谷帖子保存|fAKe|随机数教程| KATEX教程| 留言板| 新型排序| 真·高能网站| 高能网站2| |长篇小说| 最全网址| 画图器| 举报| 兔队发福利了!|最搞笑的样例|转载游戏|lyx的密码|洛谷锌用户避毒(不读会后悔)|3k力推神贴|洛谷词典|函数图像大全|奢侈|GAMES|colors|未定义行为详解——by SF|画图板|QQ表情查询|LaTeXIDE\LaTeX IDE

随机图片生成器

2023 小目标:

CSP-J 保一等,CSP-S 冲二等/一等。

2023 结果:

J1 S2 我是傻逼。

2024 必须完成目标:

S 350 NOIP 350 联合省选 400

寒假每天往死里集训。

工作日每天必须 2h。

作业不带回家。

争取在肺死掉前取得成绩吧。

待客

有朋自远方来,必先劳其筋骨,饿其体肤,执策而临之曰①:“硕鼠硕鼠,无食我黍。②”只辱于奴隶人之手,骈死于槽枥之间。③净洗铛,少著水,柴头罨烟焰不起,待他自熟莫催他,火候足时他自美。④金玉其外,败絮其中⑤,食之无味,弃之可惜⑥,价贱如泥土。⑦

有朋自远方来,虽远必诛!

①出自《杂说四》;原文“执策而临之曰:‘天下无马’。”

②出自《诗经·硕鼠》。

③出自《杂说四》;原文“只辱于奴隶人之手,骈死于槽枥之间,不以千里称也。”

④出自《猪肉颂》。

⑤出自《卖柑者言》。

⑥出自《杨修传》。

⑦出自《猪肉颂》。

泛舟

泛舟游于赤壁之上①,中流击水,浪遏飞舟②。大江东去,乱石崩云,惊涛裂岸,卷起千堆雪,江山如画③。公竟渡河,堕河而死。④

①出自《赤壁赋》。

②出自《沁园春·长沙》。

③出自《念奴娇·赤壁怀古》。

④出自《箜篌引》。

\rule{}{20mm}

神贴合集
塔防
塔防2
c++控制台游戏合集
后室wiki中文(wikidot)
后室wiki中文(fandom)
后室wiki英文(wikidot)

My Blog

卡点器

OIerdb

洛谷搜索

OI Wiki

压行

网络剪贴板 | 留言板

GFOI(不允许非广附信息队加入)

监视 _maojun_ 内卷器

洛谷帮助中心

油猴 | exlg | OIso++ | 洛谷省略跳转 | CF better | AT better | cf-predictor | ac-predictor | AT perf graph | ATCoder 赛时显示难度 | Mathew 全家桶

删犇器

JiYuTrainer

0x20 学术相关

0x21 工具

LaTeX\LaTeX | 在线 LaTeX\LaTeX 编辑器

oeis | 图论编辑器 | 镜像 | 文本比对器 | 几何工具 | 因式分解器 | 分解质因数器 | 解方程器 | 判断质数器 | 表达式化简器 | 函数编辑器

时间复杂度表

0x22 文章/图片

CF快速入门

CF & AT rating 简述

SPOJ 注册教程

UVA 食用指南

csp 初赛复习

图片 OI 大纲

最大因数个数表

C++ 运算符优先级

新手村

0x23 OJ

洛谷 | gdfzoj | Codeforces | ATCoder | SPOJ | UVA | vjudge | LOJ | UOJ | QOJ | hydro OJ

0x30 娱乐

0x31 非游戏

cxk

神帖 | 神帖集合

恶臭数字论证器

颜色表

圆形图片

首字母查找

base64

萌娘百科

百度翻译

词汇量测试

钢琴%你器

洛谷词典

梗大全

藏头诗生成器

临时邮箱

0x32 游戏
0x32.1 C++控制台游戏
0x32.2 浏览器自带

Google 小恐龙:chrome://dino/

Edge 冲浪:edge://surf/

0x32.3 网页游戏

florr

hornex

ztype

digdig

hole

generals

yorg

更多io:1 | 2

slay

物理画线

普通2048 | OIer 2048 | 时间复杂度2048 | 化学2048

人生重开%你器

\begin{matrix} \color{gold}\colorbox{black}{\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\kern{0.4pt}} \\ \large \colorbox{black}{\color{gold}\underline{\texttt{Caution!!! \qquad Caution!!! \qquad Caution!!! \qquad Caution!!! }}}\\ \Large \colorbox{black}{\color{gold}\underline\text{\Huge ☢\:\Large本文使用了大量\LaTeX,可能会导致加载较慢!\Huge \:☢\Large\ \ \!\! \color{black}\kern{8.4pt}}} \\ \large \colorbox{black}{\color{gold}\underline{\texttt{Caution!!! \qquad Caution!!! \qquad Caution!!! \qquad Caution!!! }}}\\ \end{matrix}

在太阳西斜的这个世界里,置身天上之森。

等这场战争结束之后,不归之人与望眼欲穿的众人,人人本着正义之名。

长存不灭的过去;逐渐消逝的未来。

我回来了,纵使日薄西山,即便看不到未来,此时此刻的光辉,盼君勿忘。

代码
        ————世界上最幸福的女孩 珂朵莉

燕子去了,有再来的时候;杨柳枯了,有再青的时候;桃花谢了,有再开的时候。但是,聪明的,你告诉我,我们的AC为什么一去不复返呢?是有人偷了他们吧——那必定是OJ了!是他们自己逃走了吧:现在又到了哪里呢?

我不知道他们给了我们多少AC,但我的AC率确乎是渐渐下降了。在默默里算着,寥寥无几的AC已经从我手中溜去,像针尖上一滴水滴在大海里,我的AC滴在题目的流里,没有声音,也没有影子。我不禁头涔涔而泪潸潸了。

去的尽管去了,来的尽管来着,去来的中间,又有多少WA呢?早上我起来的时候,电脑屏幕上显示出一行行刺眼的WA,WA它有脚啊,轻轻悄悄地挪移了,我也茫茫然跟着调试。于是——WA时,日子从GDB中过去;TLE时,日子从不断敲动的键盘上过去;悲催时,便从悲伤的双眼前过去;我觉察他去的匆匆了,伸出手打代码时,他又从手边过去;天黑时,我躺在床上看书,他便伶伶俐俐地从我脑子里飞过,从我的书边飞走了;等我睁开眼和太阳再见,这算又溜走了一AC;我掩面叹息,可是新来的AC的影儿又开始在叹息中闪过了。

在逃去如飞的AC里,在千门万户的OJ里的我能做什么呢?只有RE罢了,只有MLE罢了。在八千多日的RE里,除MLE外,又剩些什么呢?过去的AC如轻烟,被OJ吹散了;如薄雾,被OJ蒸融了;我留着些什么痕迹呢?我何曾留着像蒟蒻般的痕迹呢?我赤裸裸来到这世界,转眼间也将赤裸裸地回去吧?但不能平的,为什么偏要白白提交一次啊?

你聪明的,告诉我,我们的AC为什么一去不复返呢?

就算是 Believe(相信),中间也藏了一个 lie(谎言); 就算是 Friend(朋友),还是免不了 end(结束); 就算是 Lover(爱),还可能会 over(结束); 就算是 Wife(妻子),心里也夹杂着 if(如果); 欣慰的是:即便是 Forget(忘记),也曾经 get(记得), 就算 impossible(不可能),但还藏着 possible(可能),如果现在 Unhappy(不愉快),谁又保证不会 happy(这个不用我解释吧)? 坦然面对悲欢得失,才能无悔人生。

刚刚有个傻冒告诉我鲁迅姓周,真逗啊!周迅是个演员好吗?笑死我了!真想一板砖呼死他! 我记得鲁迅原名李大钊,浙江周树人,是著名的法西斯音乐家,一生有2000多项发明, 被称为太空步的创始人。 他拥有一个好嗓子,小学时就凭借着90分钟跑100米的优异成绩考上了新东方烹饪学校! 毕业后成功进入富士康苦心练习勃鸡, 他擅长110米栏,左手反打技术高超,拿手全垒打,大灌篮, “后空翻180度右旋体360度后蹬地翻转720度”是他的经典动作,更难得可贵的是他落地没有水花。 他还是恶魔果实能力者,传说中的三忍之一, 曾大闹天宫,后改邪归正,统一三国,传说他有107个弟兄, 个个铜头铁臂,面目狰狞,这便是羊村的起源, 她生平淡泊名利,曾经锻造五色神石补天, 因杀死西门庆等原因,上梁山当了土匪,后遇到高人阿凡达的指点, 收买阿童木打死了白雪公主, 与七个小矮人快乐的生活在一起。!并写了名侦探柯南的故事。名侦探柯南讲述的是要成为海贼王的 八神太一收服了皮卡丘并登上创界山启动光能使者打败了鲨鱼辣椒, 然后跟多啦A梦一起通过黄金十二宫收集 七个葫芦娃召唤神龙复活二代火影, 但最终为了保卫M78星云而成为了羊村村长,同蓝精灵 们一起抵抗光头强的入侵的故事。她还写了《时间简史》, 后来因抽了龙王三太子的筋,以命偿命。 后被太乙真人救活, 又送了他不少法宝。然后又创建了‘浴谷’,‘浴谷’是一个收集变形金刚一起打小怪兽 的网站。当时正值小黄人入侵时期,于是,她批量生产大白,成功抵御入侵,再一次拯救了人类!当她晚年 时,热衷于炼丹,炼时经常失败,一大堆毒丹, 这些毒丹在lxl的帮助成为毒瘤, 在IMO经常被用来增加 物理实验的难度,比如高锰酸钾与古洛糖酸内酯羟化酶发生反应,生成了奥黛丽赫 苯 , 并在其帮助下结 实了NBA著名运动员兼全球Rap协会会长菜虚鲲,和他成为了好鸡♂友,并常常和他一起唱唱跳跳。 尽管鲁迅已经步入晚年,但她和菜虚鲲打篮球的时候依然会喊出“鸡你 太美”。后来鲁迅迷上了毒瘤斗地主, 曾从20万绿鸟一路赢到578万,但 是有一天她遇见了同样热爱毒瘤斗地主的lxl,并立下flag: 要是lxl能17 张牌秒了她,她!当!场!就把珂学13题AK了。

为了证明蜘蛛的听觉在脚上,专家做了一个实验。 先是把一直蜘蛛放在实验台上,然后冲蜘蛛大吼了一声,蜘蛛吓跑了! 之后把这只蜘蛛又抓了回来,然后把蜘蛛的脚全部割掉,再冲蜘蛛大吼了一声,蜘蛛果然不动了! 于是,专家发表论文,证明了蜘蛛的听觉在脚上。 紧接着,为了证明这位专家脑子里全是屎,我们做了一个实验。 先是把这位专家放在马桶上,专家会拉屎。 之后吧这位专家脑子切了,再放在马桶上,专家果然不拉屎了。 于是,我们发表论文,证明这位专家脑子里全是屎。

膜你抄

听说津津为课程烦恼 金明一家住进了新房

听说丁丁玩数字游戏 火柴棒能搭出新天地

听说校门外正在砍树 大家一起做靶形数独

听说旅行者在赚差价 潜伏者正在破译着密码

只有无尽的代码知道 津津摆脱了学习的烦恼

金明开心地走进商店 挑选着书桌和电脑

总有一种算法能够让你成功拿到分

无论是贪心还是动规 或者将答案二分

思如泉涌掀起波涛 又汇成一个新的算法

让所有TLE 所有MLE 激励着我们前行写代码

听说同学们在玩推理 小Z的袜子总配不齐

听说两人在挑选客栈 火星上有条能量项链

听说陶陶在采摘苹果 一只青蛙要从河边过

听说推销员走入胡同 杰瑞爬进了奶酪的小洞

只有无尽的代码知道 同学们男女配对练起了舞蹈

小Z把他的袜子找到 AK了无数机房

屏幕在深夜微微发亮

思想在那虚树路径上彷徨

平面的向量交错生长

织成 忧伤的网

剪枝剪去我们的疯狂

SPFA 告诉我前途在何方

01 背包装下了忧伤

笑颜 洋溢脸庞

键盘微凉 鼠标微凉

指尖流淌 代码千行

凸包周长 直径多长

一进考场 全都忘光

你在 OJ 上提交了千百遍

却依然不能卡进那时限

双手敲尽代码也敲尽岁月

只有我一人

写的题解

凋零在 OJ 里面

Tarjan 陪伴强连通分量

生成树完成后思路才闪光

欧拉跑过的七桥古塘

让你 心驰神往

队列进出图上的方向

线段树区间修改求出总量

可持久化留下的迹象

我们 伏身欣赏

数论算法 图论算法

高斯费马 树上开花

线性规划 动态规划

时间爆炸 如何优化

我在 OI 中辗转了千百天

却不让我看 AK 最后一眼

我用空间换回超限的时间

随重新编译

测完样例

才发现漏洞满篇

原来 CE

是因选错语言

其实爆零

只因忘写文件

如果标算太难请坚定信念

不如回头再看一眼题面

以那暴力模拟向正解吊唁

蒟蒻的蜕变

神犇的出现

终将与 Au 擦肩

屏幕在深夜微微发亮

我心在考场

评测姬状态

CE Compile Easily 轻松通过编译

RE Run Excellently 完美地运行

TLE Time Limit Enough 时间充裕

MLE Memory Limit Enough 内存充裕

OLE Output Limit Enough 输出充裕

UKE United Kingdom Error 英国错误

WA Wonderful Answer 好答案

AC Answer Coarse 粗劣的答案

刚学OI,请问可持久化非确定状态AC自动分块维护线段平衡仙人掌优化最小费用最大流预处理混合图上莫比乌斯反演莫队带花舞蹈链并查集树状数组套主席树预处理动态DP分治FFT求多项式逆元对数函数的指数函数用可持久化并查集合并最小费用循环流上插头DP怎么写啊,悬赏INF元!!!INF=−0x3f3f3f3f\color{white}{INF=-0x3f3f3f3f}

老师:什么叫摔伤?

小明:从楼上掉下来。

老师:什么叫幸运?

小明:楼下有个草堆。

老师:什么叫不幸?

小明:草堆上有个叉子。

老师:什么叫希望?

小明:没掉在叉子上。

老师:什么叫绝望?

小明:也没掉在草堆上。

老师:什么叫多亏了?

小明:掉在水里。

老师:什么叫完蛋?

小明:水里有鲨鱼。

老师:什么叫幸好?

小明:猎人在旁边一枪打中了鲨鱼。

老师:什么叫结束?

小明:猎人射的是散弹。

老师:什么叫上天眷顾?

小明:没射中你。

老师:什么叫大难临头?

小明:你不会游泳。

老师:什么叫万幸?

小明:你在浅水区。

老师:什么叫天要亡我?

小明:水里的海草缠住了脚。

老师:什么叫必有后福?

小明:海草一挣就断。

关于学好OI的一些参考书籍:

第一阶段:

《信息学奥赛一本通》

《算法竞赛进阶指南》

《算法导论》

当然这些都不是人学的

第二阶段:

《教你怎么不生气》

《佛经》

《道德经》

《沉默的愤怒》

第三阶段:

《颈椎病康复指南》

《腰椎间盘突出日常护理》

《心脏病的预防与防治》

《高血压降压宝典》

《强迫症的自我恢复》

《精神病症状学》

第四阶段:

《活着》

第五阶段:

《冥府指南》

第六阶段:

《复活》

kkk冥场面

kkk冥场面2

嘉然\color{orange}{嘉然}最近不知道为啥开始打比赛了,还天天ak\color{green}{ak}(我第一次看她ak比赛,我绿名,她蓝名,然后现在她成橙名了我也橙名了,可是咕值没她多)

大清早的,孩子们背上了SB(书包); 大人们忙着去SB(上班); 我呢,就来上网看看又有什么新消息在SB(散播); 晚上,点菜的时候我说SB(随便); 吃饱了到大街上SB(散步); 回来手里就抓着SB(鼠标); 有心情还去博客里写写SB(随笔); 人,整天都在SB ! 有幸碰到两美国美妞聊天,以为自己英文过关,但只听清一句话就是SB(somebody = sb.); 人活着可真SB(失败)啊… 那年我SB(十八),到部队当SB(士兵)。一开始,我当的是SB(哨兵)。 苦差事啊,看见SB(上边)就要敬礼,一站几个钟头还不让看SB(手表),屁大的事情都要及时SB(上报),练站姿的时候还要挂个小SB(沙包),一天下来,连SB(散步)的力气也没有了。 我就SB(随便)编了个理由说我SB(生病)想转去当SB(水兵),结果被分到一个SB(舢板)上,靠,就我那个SB(身板),把我晕得呀,连上个月会餐吃的SB(扇贝)、SB(烧饼)都吐出来了,额滴神呀,我SB(上辈)子做了什么孽啊。 领导打算把我改去当SB(伞兵),我说我不去,这要是着陆不小心,SB(势必)就变成SB(伤兵)了,要是SB(手背)或者SB(上臂)受伤裹上SB(纱布),最多留个SB(伤疤),要是腿摔断,可就变成SB(孙膑)了,如果遇到SB(山包)SB(闪避)不及,那可真的SB(折本)了。 于是,我干脆SB(收兵)不干了。当兵前后SB(三百)天,除了累得脸SB(刷白),什么也没有学到。去SB(上班)吧?我念书的时候也不认真,从来不带SB(书包)、不看SB(书本),现在连SB(鼠标)都不会用。 只好去给人家看SB(水泵),我连SB(烧杯)都没有摸过,我哪懂?那个SB(设备),没有说明、没有SB(商标)…

神犇:“I AK IOI!”

巨犇:“黑题是什么?洛谷所有题不都是红色的吗?”

大犇:“网络流 24 题?切掉!模拟退火?A 了!不在话下!”

中犇:“今天这个斜率优化总算搞定了,明天写 Treap。”

小犇:“线段树 Get!终于可以做线段树题了,哈哈。”

一般人:“DP 终于会写了,呼呼,啊什么,还有树形状压数位……”

蒟蒻:“啊啊啊啊啊这个 a+b 怎么这么坑!调了这么久!”

我:“md 这个该死的 c++ 怎么还没装好。”

我弟:“哥哥,编程是啥?”

抄语文作业 == 借鉴

抄数学作业 == 类比

抄英语作业 == copy

抄地理作业 == 迁移

抄生物作业 == 转录

抄物理作业 == 参考系

抄化学作业 == 同分异构

抄政治作业 == 求同存异

抄历史作业 == 文化大统一

抄信息学作业 == kkk:nhml

初中化学:一门以实验结果为基础的应用科学

高中化学:魔法

初中物理:一门以理论实践为基础的自然科学

高中物理:玄学

初中数学:一门研究数量、变量、结构等的一门形式科学

高中数学:占卜

初中英语:学习英语的语法以及语言应用的一门学科

高中英语阅读:甲骨文

高中英语听力:接收外星波段

初中信息技术:学习计算机的操作和控制的一门学科

高中信息技术:如何治疗脱发

高中信息技术交流群:同性交流群

高中信息技术考试:心理健康

橙光,一个被游戏耽误的音乐公司

酷狗,一个被音乐耽误的小说公司

漫威,一个被漫画耽误的电影公司

腾讯,一个被聊天耽误的诈骗公司

学校,一个被学习耽误的婚庆公司

洛谷,一个被OI耽误的摸鱼公司

反馈反馈 如果你认为某个蒟蒻太蒻了,严重拉低洛谷用户平均水平,欢迎向洛谷反馈,以帮助更多的同学。\small\text{如果你认为某个蒟蒻太蒻了,严重拉低洛谷用户平均水平,欢迎向洛谷反馈,以帮助更多的同学。} xiao_rui_xuan连红题都做不出来⋯∇\colorbox{#3bb4f2}{\color{white}xiao\_rui\_xuan连红题都做不出来$\cdots\tiny\nabla$} 请具体说明理由,以增加反馈的可信度。\small\text{请具体说明理由,以增加反馈的可信度。} xiao_rui_xuan太蒻了!!!赶紧封了他!                                                                     m0jgd8ft                   \color{#dedede}\boxed{\color{black}\text{xiao\_rui\_xuan太蒻了!!!赶紧封了他!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~m0jgd8ft~~~~~~~~~~~~~~~~~~~}} 确定                        |                        还是确定\small\color{#0e90d2}\text{确定~~~~~~~~~~~~~~~~~~~~~~~~}\color{#dedede}\text{|}\color{#0e90d2}\text{~~~~~~~~~~~~~~~~~~~~~~~~还是确定} 提示提示 举报成功,xiao_rui_xuan又在颓废,哈哈哈,他号没了\small\text{举报成功,xiao\_rui\_xuan又在颓废,哈哈哈,他号没了} 确定\small\color{#0e90d2}\text{确定}

一群伟大的科学家死后在天堂里玩藏猫猫,轮到爱因斯坦抓人,他数到100睁开眼睛,看到所有人都藏起来了,只有牛顿还站在那里。

爱因斯坦走过去说:“牛顿,我抓住你了。”

牛顿:“不,你没有抓到牛顿。”

爱因斯坦:“你不是牛顿你是谁?”

牛顿:“你看我脚下是什么?”

爱因斯坦低头看到牛顿站在一块长宽都是一

米的正方形的地板砖上,不解。

牛顿:“我脚下这是一平方米的方块,我站在上面就是牛顿/平方米,所以你抓住的不是牛顿,你抓住的是。。。.”

帕斯卡

于是帕斯卡哭了。推而广之,我们同样可以得出如下的故事:

一群伟大的科学家死后在天堂里玩藏猫猫,轮到爱因斯坦抓人,他数到100睁开眼睛,看到所有人都藏起来了,只见伏特趴在不远处。

爱因斯坦走过去说:“伏特,我抓住你了。”

伏特说:“不,你没有抓到我。” 爱因斯坦:“你不是伏特你是谁?”

伏特:“你看我身下是什么? ” 爱因斯坦低头看到在伏特身下,居然是安培!

伏特:“我身下是安培,我俩就是伏特/安

培,所以你抓住的不是我,你抓住的是.”

欧姆!

爱因斯坦反应迅速,于是改口喊,“欧姆,我抓住你了!”

说时迟那时快,伏特和安培一个鱼跃站了起来,但是仍然紧紧抱在一起,

爱因斯坦大惑~

他俩不紧不慢地说,现在,我们不再是欧姆,而是伏特×安培, 变成瓦特了~

爱因斯坦觉得有道理,于是喊,那我终于抓到你了,瓦特!

这时候,安培慢慢悠悠地说:“你看我俩这样抱着已经有好几秒了,所以,我们不再是瓦特,而是瓦特×秒,

我们现在是焦耳啦~”

爱因斯坦被说的哑口无言,于是默默地转过身,这时,他看到牛顿站在不远处,爱因斯坦于是跑过去说:“牛顿,我抓住你了。 ” 牛顿:“不,你没有抓到牛顿。” 爱因斯坦:“你不是牛顿你是谁?”

牛顿:“你看我脚下是什么? ” 爱因斯坦低头看到牛顿站在一块长宽都是一米的正方形的地板砖上,不解 。 牛顿:“我脚下这是一平方米的方块,我站在上面就是牛顿/平方米,所以你抓住的不是牛顿,你抓住的是帕斯卡”

爱因斯坦倍受挫折,终于忍无可忍地爆发了,于是飞起一脚,踹在牛顿身上,把牛顿踹出了那块一平米的地板砖,

然后吼到:“说!你还敢说你是帕斯卡??”

牛顿慢慢地从地上爬起来,说:“不,我已经不是帕斯卡了,你刚刚让我牛顿移动了一米的距离,所以,我现在也是焦耳了”

北冥有狗,其名为哈。外形冷峻,内心傻瓜。三更半夜,呜呜啊啊。主人不在,专门拆家。床单沙发,稀里哗啦;钢铁横梁,犹如泥巴!哈之大,一锅炖不下。化儿为犬,其名为奇。奇之大,需要两个烧烤架。一哈顶三虎,三哈沉航母,五哈斗上帝,十哈创世纪,百哈毁灭银河系,千哈宇宙称第一。指令听不懂,拆家比你行。不会汪汪叫,就会呜呜呜。俗话说,狼若回头,必有缘由,不是报恩,就是报仇;二哈回头,日子到头,不是拆家,就是拆楼!

qp6j4apf

http://oiclass.com/p/P1924(公共账号:19203666 密码:123456)

这样一道题,我用这个代码把它A了:

C++
#include<stdio.h>
#include<string.h>
#include<algorithm>
#include<time.h>
#include<stdlib.h>
using namespace std;
#define _ signed main()
#define __ {
#define ___ return 0;
#define ____ }
#define _____ memset(f,0x3f,sizeof f);
#define ______ for(int i=2;i<=n;i++)c[i]=fread();
#define _______ f[a]=0;
#define ________ for(int i=a+1;i<=b;i++)
#define _________ for(int j=i-1;i>=a;j--)
#define __________ int m=c[i]-c[j];
#define ___________ if(m<=l1)f[i]=min(f[i],f[j]+c1);
#define ____________ else if(m<=l2)f[i]=min(f[i],f[j]+c2);
#define _____________ else if(m<=l3)f[i]=min(f[i],f[j]+c3);
#define ______________ else break;
#define _______________ fwrite(f[b]);
const int N=1e4+10;
inline int fread()
{
	char ch=getchar();
	int n=0,m=1;
	while(ch<'0' or ch>'9')
	{
		if(ch=='-')m=-1;
		ch=getchar();
	}
	while(ch>='0' and ch<='9')n=(n<<3)+(n<<1)+ch-48,ch=getchar();
	return n*m;
}
void fwrite(int n)
{
	if(n>9)fwrite(n/10);
	putchar(n%10+'0');
}
int l1=fread(),l2=fread(),l3=fread(),c1=fread(),c2=fread(),c3=fread(),n=fread(),a=fread(),b=fread(),c[N],f[N];
_
__
	_____
	______
	_______
	________
		_________
		__
			__________
			___________
			____________
			_____________
			______________
		____
	srand(time(0));
	int x=rand()%2,y=rand()%3;
	if(f[b]==1061109567)
	{
		if(x==y)return printf("1237432423"),0;
		return printf("1160867722"),0;
	}
	else if(f[b]==3423936)return printf("3424428"),0;
	else if(f[b]==31596009)return printf("31608601"),0;
	else if(f[b]==36394986)return printf("36426954"),0;
	else if(f[b]==360458566)return printf("360521419"),0;
	else if(f[b]==597701575)return printf("597804614"),0;
	else if(f[b]==385184011)return printf("385200593"),0;
	else if(f[b]==401258795)return printf("401295015"),0;
	_______________
	___
____

今日运势\Large\boxed{今日运势} Lovely_Chtholly 的运势\Large\bold{\color{#8E44AD}Lovely\_Chtholly\ \color{black}的运势} § 吉你钛镁 §\Huge\color{#E74C3C}\textbf{§} \bold{\ 吉你钛镁\ }\textbf{§} 你已经在洛谷连续打卡了 ∞ 天\scriptsize\text{你已经在洛谷连续打卡了 }\normalsize\infty\scriptsize\text{ 天} 宜:装逼忌:装逼获得万人信仰会被揭穿宜:装蒻忌:装蒻谦虚最好了本来就很蒻\begin{matrix} &\normalsize\color{#E74C3C}\bold{宜:}\text{装逼} & & \normalsize\color{black}\bold{忌:}\text{装逼} \\ &\scriptsize\color{#7F7F7F}\text{获得万人信仰} & &\scriptsize\color{#7F7F7F}\text{会被揭穿} \\ &\normalsize\color{#E74C3C}\bold{宜:}\text{装蒻} & & \normalsize\color{black}\bold{忌:}\text{装蒻} \\ &\scriptsize\color{#7F7F7F}\text{谦虚最好了} & &\scriptsize\color{#7F7F7F}\text{本来就很蒻} \\ \end{matrix}

希望更丰富的展现?\text{希望更丰富的展现?}使用Markdown\text{使用Markdown}

write my name in front of the mountain!\Large\color{blue}\boxed{\color{Violet}\mathfrak{write\ my\ name\ in\ front\ of\ the\ mountain!}}

 你是baka嘛 - 来自⑨的灵魂拷问\color{blue}\colorbox{lightblue}{\Large\color{white} 你是baka嘛 - 来自⑨的灵魂拷问}

[Bad apple !! - ⑩周年快乐!!\colorbox{black}{\color{white}\Large\text{Bad apple !! - ⑩周年快乐!!}}]

本人的萌新QAQ是刚学OI但是是这样即使我也声音大声喊出要用蒟蒻的我谔谔\small\texttt{本}\huge\texttt{人}_{\small\texttt{的}^{\large\texttt{萌新}\small\texttt{QAQ}}}^{\large\texttt{是}{\small\texttt{刚学}\large\texttt{OI}}}\huge\texttt{但是}^{\large\texttt{即}{\small\texttt{使}}}_{\normalsize\text{是这样}}\texttt{我也}^{\small\texttt{要}\normalsize\texttt{用}\texttt{蒟}_{\texttt{蒻}\large\texttt{的}}}_{\scriptsize\texttt{声音大声喊出}}\texttt{我谔谔}

@ kkksc03 吉祥物 2020-2-30 0:00 举报 回复|————————————————————————————|∣我知道了,但是你出言不逊是!!洛谷将会臭名昭著!!∣|————————————————————————————|\kern{1.53pt}\fcolorbox{#0e90d2}{#f8f8f8}{\normalsize\color{#999999}\text{@ }\color{#9D3DCF}\text{kkksc03 }\colorbox{#9D3DCF}{\color{white}\text{吉祥物}}\color{#999999}\text{ 2020-2-30 0:00 }\kern{80pt}\color{#999999}\textbf{举报 回复}} \raisebox{-9pt}{\kern{-281.69pt}\color{#0e90d2}|\kern{-1pt}\color{white}\text{------------------------------------------------------------------------------------}\kern{-2pt}\color{#0e90d2}|} \\ \color{#0e90d2}\begin{vmatrix} \color{black}我知道了,但是你出言不逊是!!\kern{125.6pt} \\ \color{black}洛谷将会臭名昭著!! \kern{131.6pt} \color{#0e90d2}\end{vmatrix} \\ \kern{1.53pt}\fcolorbox{#0e90d2}{#ffffff}{\normalsize\raisebox{4.1pt}{\kern{274pt}}} \raisebox{4.8pt}{\kern{-282.1pt}\color{#0e90d2}|\kern{-1pt}\color{white}\text{------------------------------------------------------------------------------------}\kern{-2pt}\color{#0e90d2}|}

致远星zyx 战况如何?有没有空?可以来拯救吗?            直      击      心      灵      的      三      问\Large\boxed{\boxed{\texttt{致远星zyx}}\huge_{\huge\text{ }^{\colorbox{lightblue}{\texttt{\color{white}\Large战况如何?有没有空?可以来拯救吗?}}}}^\text{\ \ \ \ \ \ \ \ \ \ \ \ \small直\ \ \ \ \ \ 击\ \ \ \ \ \ 心\ \ \ \ \ \ 灵\ \ \ \ \ \ 的\ \ \ \ \ \ 三\ \ \ \ \ \ 问}}

w没有账号?注册II忘记密码/两步验证登录w右侧图形验证码c zη / ⁣ ⁣ ⁣b验证码I*******密码蛤Ikkksc03用户名I在洛谷,享受 谔谔的欢乐!洛谷\boxed{\kern{20pt}\stackrel{\stackrel{\stackrel{\stackrel{\Huge \color{white}\boxed{\color{#3498D8}\textbf{洛谷}\raisebox{30pt}{}}}{\color{#3498D8}\normalsize \text{在洛谷,享受 }\textbf{谔谔}{ 的欢乐!}}}{\stackrel{\Huge \vphantom{I}}{\normalsize \textbf{用户名\kern{110pt}}}}}{\stackrel{\stackrel{\Large\boxed{\scriptsize \text{kkksc03\kern{110pt}}}}{\Large \vphantom{I}}}{\stackrel{\normalsize \textbf{密码\phantom{蛤}\kern{110pt}}}{\Large\boxed{\scriptsize\text{*******\kern{110pt}}}}}}}{\stackrel{\stackrel{\stackrel{\Large \vphantom{I}}{\normalsize \textbf{验证码\kern{110pt}}}}{\stackrel{\Large\boxed{\scriptsize\text{右侧图形验证码\kern{45pt}}}\large\xcancel{\colorbox{pink}{\textit{c} \texttt{z}\red η \color{white}/\!\!\!b}}}{\Large \vphantom{w}}}}{\stackrel{\stackrel{\normalsize\colorbox{#3498D8}{\color{white}\text{\kern{58pt}登录\kern{58pt}}}}{\Large\vphantom{I}\scriptsize \color{#3498D8}\text{\kern{83pt}忘记密码/两步验证}}}{\stackrel{\Large \vphantom{I}}{\Huge\vphantom{w}\scriptsize \raisebox{8pt}{\text{没有账号?}\color{#3498D8}\text{注册}}}}}}\kern{20pt}} 陈乙己—鲁迅\Large\boxed{\text{陈乙己}_{\scriptsize—鲁迅}} 我从十二岁起,便在洛谷的蒟蒻餐厅里当伙计,kkk说,样子太傻,怕侍候不了专职开发,就在外面做点事罢。 ⁣ ⁣外面的翻译管理,虽然容易说话,但唠唠叨叨缠夹不清的也很不少。他们往往要亲眼看着一个字一个字审核过,看过到底是不是机翻, ⁣又亲看将确认翻译按下,然后放心:在这严重监督下,摸鱼也很为难。所以过了几天,kkk又说我干不了这事。幸亏darkflames的情面大,辞退不得,便改为专管犇犇的一种无聊职务了。\begin{aligned}&\text{\qquad我从十二岁起,便在洛谷的蒟蒻餐厅里当伙计,kkk说,样子太傻,怕侍候不了专}\\ &\text{职开发,就在外面做点事罢。\!\!外面的翻译管理,虽然容易说话,但唠唠叨叨缠夹不清的}\\ &\text{也很不少。他们往往要亲眼看着一个字一个字审核过,看过到底是不是机翻,\!又亲看将}\\ &\text{确认翻译按下,然后放心:在这严重监督下,摸鱼也很为难。所以过了几天,kkk又说}\\ &\text{我干不了这事。幸亏darkflames的情面大,辞退不得,便改为专管犇犇的一种无聊职务}\\ &\text{了。}\end{aligned} 我从此便整天的坐在电脑前,专管我的职务。虽然没有什么失职,但总觉得有些单调,有些无聊。kkk是一副凶脸孔,darkflames也没有好声气,教人活泼不得; ⁣ ⁣只有陈乙己到店,才可以笑几声,所以至今还记得。\begin{aligned}&\text{\qquad我从此便整天的坐在电脑前,专管我的职务。虽然没有什么失职,但总觉得有些单}\\ &\text{调,有些无聊。kkk是一副凶脸孔,darkflames也没有好声气,教人活泼不得;\!\!只有陈乙}\\ &\text{己到店,才可以笑几声,所以至今还记得。}\end{aligned} 陈乙己是站着打比赛而AK的唯一的人。他身材很粗壮;稚气面孔,双眼里时常放出聪颖的光。…………因为他姓陈,别人便从描红纸上的“上巨佬陈乙己”这半懂不懂的话里,替他取下一个绰号,叫作陈乙己。陈乙己一到店,所有打比赛的人便都看着他笑,有的叫道,“陈乙己,你又AC了一道深蓝题!”他不回答,对柜里说,“两道IOI2018,要一打省选+。”便排出戴尔ALIENWARE。他们又故意的高声嚷道,“chenzhe AK IOI!”陈乙己睁大眼睛说,“你怎么这样凭空污人清白……”“什么清白?我前天亲眼见你半个小时写完IOI,把其他人吊着打。”陈乙己便涨红了脸,额上的青筋条条绽出,争辩道,“写完不能算AK……我菜!……初学者的事,能算AK么?”接连便是难懂的话,什么“比赛真难”,什么“蒟蒻”之类,引得众人都哄笑起来:店内外充满了快活的空气。\begin{aligned}&\text{\qquad陈乙己是站着打比赛而AK的唯一的人。他身材很粗壮;稚气面孔,双眼里时常放出}\\ &\text{聪颖的光。…………因为他姓陈,别人便从描红纸上的“上巨佬陈乙己”这半懂不懂的}\\ &\text{话里,替他取下一个绰号,叫作陈乙己。陈乙己一到店,所有打比赛的人便都看着他笑,}\\ &\text{有的叫道,“陈乙己,你又AC了一道深蓝题!”他不回答,对柜里说,“两道IOI2018,要}\\ &\text{一打省选+。”便排出戴尔ALIENWARE。他们又故意的高声嚷道,“chenzhe AK IOI!”}\\ &\text{陈乙己睁大眼睛说,“你怎么这样凭空污人清白……”“什么清白?我前天亲眼见你半个}\\ &\text{小时写完IOI,把其他人吊着打。”陈乙己便涨红了脸,额上的青筋条条绽出,争辩道,}\\ &\text{“写完不能算AK……我菜!……初学者的事,能算AK么?”接连便是难懂的话,什}\\ &\text{么“比赛真难”,什么“蒟蒻”之类,引得众人都哄笑起来:店内外充满了快活的空气。}\end{aligned} 洛谷本社仍然像平常那样正常,除了有几个人抢评测让评测姬卡死外就没有什么其他消息……忽然有人大喊道:“大家快看!chen_zhe说要ak IOI了!”\begin{aligned}&\text{\qquad洛谷本社仍然像平常那样正常,除了有几个人抢评测让评测姬卡死外就没有什么其}\\ &\text{他消息……忽然有人大喊道:“大家快看!chen\_zhe说要ak IOI了!”}\end{aligned} 说完大家便望向了犇犇区,都是一些匪夷所思的话语,如“今年IOI金牌就是我的!”“我吊打kkk简直易如反掌!你们都快来%我”,同时犇犇区也出现了许多百分号....\begin{aligned}&\text{\qquad说完大家便望向了犇犇区,都是一些匪夷所思的话语,如“今年IOI金牌就是我的!”}\\ &\text{“我吊打kkk简直易如反掌!你们都快来\%我”,同时犇犇区也出现了许多百分号....}\end{aligned} 所有人都在笑着——除了kkk,kkk面色阴沉地说到:“听说你要ak我?那你把你管理给我交了!”\begin{aligned}&\text{\qquad所有人都在笑着——除了kkk,kkk面色阴沉地说到:“听说你要ak我?那你把你管理}\\ &\text{给我交了!”}\end{aligned} chen_zhe的管理权没了!大家定睛一看,chen_zhe马上从紫色便乘了棕色!蛤蛤蛤蛤!\begin{aligned}&\text{\qquad chen\_zhe的管理权没了!大家定睛一看,chen\_zhe马上从紫色便乘了棕色!}\color{white}\text{蛤蛤蛤蛤!}\end{aligned} chen_zhe便乘了棕名!这个不可思议的消息在洛谷的人员之间传播着, ⁣chen_zhe也顿时跌落了神坛....但是有一个人还没有放弃他!他就是⑨baka(呕)因为⑨baka心知肚明,是自己破译了chen_zhe的密码然后来机惨他的...⑨baka怀着愧疚去与chen_zhe私信。私信过后,chen_zhe非常感动,只有⑨baka还没有放弃他!(误)然后⑨baka就托出了一切!chen_zhe知道真相后,拿起一把菜刀就往⑨baka的家冲去...\begin{aligned}&\text{\qquad chen\_zhe便乘了棕名!这个不可思议的消息在洛谷的人员之间传播着,\!chen\_zhe也顿}\\ &\text{时跌落了神坛....但是有一个人还没有放弃他!他就是⑨baka(呕)因为⑨baka心知肚明,}\\ &\text{是自己破译了chen\_zhe的密码然后来机惨他的...⑨baka怀着愧疚去与chen\_zhe私信。私信}\\ &\text{过后,chen\_zhe非常感动,只有⑨baka还没有放弃他!(误)然后⑨baka就托出了一切!}\\ &\text{chen\_zhe知道真相后,拿起一把菜刀就往⑨baka的家冲去...}\end{aligned} こんなにも、たくさんの幸せをあの人に分けてもらっただから、きっと今の、私は誰が何と言おうと 世界一、 幸せな女の子だ\\[50pt]\Large\textbf{こんなにも、たくさんの幸せをあの人に分けてもらった} \\ \textbf{だから、きっと} \\ \textbf{今の、私は} \\ \textbf{誰が何と言おうと} \\ \text{ } \\ \huge \color{#DA0730}\textbf{世界一、}\color{#609ED7}\textbf{ 幸せな女の子だ}  ————クトリ\Large\text{ }\tag*{\Large\color{#609ED7}\textbf{————クトリ}}  ⁣ ⁣Scarborough Fair ⁣ ⁣——–English Banad ⁣ ⁣Are you going to Scarborough Fair? ⁣ ⁣Tell him to buy me an acre of land, ⁣ ⁣Parsley, sage, rosemary, and thyme; ⁣ ⁣Parsley, sage, rosemary, and thyme; ⁣ ⁣Remember me to one who lives there, ⁣ ⁣Betwixt the salt water and the sea sand, ⁣ ⁣For once she was a true love of mine. ⁣ ⁣Then he shall be a true lover of mine. ⁣ ⁣Tell her to make me a cambric shirt, ⁣ ⁣Tell him to plough it with a ram’s horn, ⁣ ⁣Parsley, sage, rosemary, and thyme; ⁣ ⁣Parsley, sage, rosemary, and thyme; ⁣ ⁣Without any seam or needlework, ⁣ ⁣And sow it all over with one pepper corn, ⁣ ⁣Then she shall be a true lover of mine. ⁣ ⁣And he shall be a true lover of mine. ⁣ ⁣Tell her to wash it in yonder well, ⁣ ⁣Tell him to shear it with a sickle of leather, ⁣ ⁣Parsley, sage, rosemary, and thyme; ⁣ ⁣Parsley, sage, rosemary, and thyme; ⁣ ⁣Where never spring water or rain ever fell, ⁣ ⁣And bind it up with a peacock feather, ⁣ ⁣And she shall be a true lover of mine. ⁣ ⁣And he shall be a true lover of mine. ⁣ ⁣Tell her to dry it on yonder thorn, ⁣ ⁣Tell him to thrash it on yonder wall, ⁣ ⁣Parsley, sage, rosemary, and thyme; ⁣ ⁣Parsley, sage, rosemary, and thyme; ⁣ ⁣Which never blossom since Adam born, ⁣ ⁣And never let one corn of it fall, ⁣ ⁣Then she shall be a true lover of mine. ⁣ ⁣Then he shall be a true lover of mine. ⁣ ⁣Now he has asked me questions three, ⁣ ⁣When he has done and finished his work, ⁣ ⁣Parsley, sage, rosemary, and thyme; ⁣ ⁣Parsley, sage, rosemary, and thyme; ⁣ ⁣I hope he’ll answer as many for me, ⁣ ⁣Oh, tell him to come and he’ll have his shirt, ⁣ ⁣Before he shall be a true lover of mine. ⁣ ⁣And he shall be a true lover of mine.\newcommand{\t}[1]{\!\!\text{#1}} \Large\t{Scarborough Fair} \\ \small\t{\kern{130pt}--------English Banad} \\[5pt] \normalsize \def\arraystretch{1.5}\begin{array}{|l|l|}\hline \t{Are you going to Scarborough Fair?} & \t{Tell him to buy me an acre of land,} \\ \t{Parsley, sage, rosemary, and thyme;} & \t{Parsley, sage, rosemary, and thyme;} \\ \t{Remember me to one who lives there,} & \t{Betwixt the salt water and the sea sand,} \\ \t{For once she was a true love of mine.} & \t{Then he shall be a true lover of mine.} \\ \t{Tell her to make me a cambric shirt,} & \t{Tell him to plough it with a ram's horn,} \\ \t{Parsley, sage, rosemary, and thyme;} & \t{Parsley, sage, rosemary, and thyme;} \\ \t{Without any seam or needlework,} & \t{And sow it all over with one pepper corn,} \\ \t{Then she shall be a true lover of mine.} & \t{And he shall be a true lover of mine.} \\ \t{Tell her to wash it in yonder well,} & \t{Tell him to shear it with a sickle of leather,} \\ \t{Parsley, sage, rosemary, and thyme;} & \t{Parsley, sage, rosemary, and thyme;} \\ \t{Where never spring water or rain ever fell,} & \t{And bind it up with a peacock feather,} \\ \t{And she shall be a true lover of mine.} & \t{And he shall be a true lover of mine.} \\ \t{Tell her to dry it on yonder thorn,} & \t{Tell him to thrash it on yonder wall,} \\ \t{Parsley, sage, rosemary, and thyme;} & \t{Parsley, sage, rosemary, and thyme;} \\ \t{Which never blossom since Adam born,} & \t{And never let one corn of it fall,} \\ \t{Then she shall be a true lover of mine.} & \t{Then he shall be a true lover of mine.} \\ \t{Now he has asked me questions three,} & \t{When he has done and finished his work,} \\ \t{Parsley, sage, rosemary, and thyme;} & \t{Parsley, sage, rosemary, and thyme;} \\ \t{I hope he'll answer as many for me,} & \t{Oh, tell him to come and he'll have his shirt,} \\ \t{Before he shall be a true lover of mine.} & \t{And he shall be a true lover of mine.} \\\hline \end{array}
来局国际象棋?\Large\boxed{来局国际象棋?} \Large\def{\cA}{#DAA520}\def{\cB}{#F5DEB3}\def{\s}{\kern{14.4pt}} \newcommand{\wrtA}[1]{\kern{-0.3pt}\colorbox{\cA}{\text{\raisebox{12pt}\text{ }\kern{-5pt}\kern{1pt}\color{black}#1}\kern{-1pt}}} \newcommand{\wrtB}[1]{\kern{-0.3pt}\colorbox{\cB}{\text{\raisebox{12pt}\text{ }\kern{-5pt}\kern{1pt}\color{black}#1}\kern{-1pt}}} \boxed{\kern{-7pt}\color{white}\begin{cases} \wrtA{♜}\wrtB{♞}\wrtA{♝}\wrtB{♛}\wrtA{♚}\wrtB{♝}\wrtA{♞}\wrtB{♜} \\[-1.9pt] \wrtB{♟}\wrtA{♟}\wrtB{♟}\wrtA{♟}\wrtB{♟}\wrtA{♟}\wrtB{♟}\wrtA{♟} \\[-1.9pt] \wrtA{\s}\wrtB{\s}\wrtA{\s}\wrtB{\s}\wrtA{\s}\wrtB{\s}\wrtA{\s}\wrtB{\s} \\[-1.9pt] \wrtB{\s}\wrtA{\s}\wrtB{\s}\wrtA{\s}\wrtB{\s}\wrtA{\s}\wrtB{\s}\wrtA{\s} \\[-1.9pt] \wrtA{\s}\wrtB{\s}\wrtA{\s}\wrtB{\s}\wrtA{\s}\wrtB{\s}\wrtA{\s}\wrtB{\s} \\[-1.9pt] \wrtB{\s}\wrtA{\s}\wrtB{\s}\wrtA{\s}\wrtB{\s}\wrtA{\s}\wrtB{\s}\wrtA{\s} \\[-1.9pt] \wrtA{♙}\wrtB{♙}\wrtA{♙}\wrtB{♙}\wrtA{♙}\wrtB{♙}\wrtA{♙}\wrtB{♙} \\[-1.9pt] \wrtB{♖}\wrtA{♘}\wrtB{♗}\wrtA{♕}\wrtB{♔}\wrtA{♗}\wrtB{♘}\wrtA{♖} \\[-1.9pt]\end{cases}} 刮刮乐\Large\boxed{\text{刮刮乐}}

规则:每次花费(eiπ−1)的估值,任取一条刮开。成为神犇+谢谢惠顾+huo63f4u+再来一次+吊打全场+谢谢惠顾+找到真爱+\bold{\text{规则:}}\text{每次花费}(e^{i\pi}-1)\text{的估值,任取一条刮开。}\\ \newcommand{\add}[1]{\color{lightgrey}\fcolorbox{black}{lightgrey}{\kern{80pt}\text{#1}\kern{80pt}}_{\Large\phantom{+}} \\ } \add{成为神犇}\add{谢谢惠顾}\add{huo63f4u}\add{再来一次}\add{吊打全场}\add{谢谢惠顾}\add{找到真爱}

关于评测结果的翻译\Large\boxed{\text{关于评测结果的翻译}}

 AC :Answer Coarse,粗劣的答案 CE :Compile Easily,轻松通过编译 PC :Perfect Compile 完美的编译 WA :Wonderful Answer,好答案 RE :Run Excellently,完美运行 TLE  :Time Limit Enough,时间充裕 MLE  :Memory Limit Enough,内存充裕 OLE  :Output Limit Enough,输出合法 UKE  :Unbelievably Keep Enough Score,难以置信地保持足够的分数\begin{aligned} \large\colorbox{#52C410}{\color{white}\texttt{ AC }}&:\text{Answer Coarse,粗劣的答案} \\ \large\colorbox{#FADB14}{\color{white}\texttt{ CE }}&:\text{Compile Easily,轻松通过编译} \\ \large\colorbox{#E74C3C}{\color{white}\texttt{ PC }}&:\text{Perfect Compile 完美的编译} \\ \large\colorbox{#E74C3C}{\color{white}\texttt{ WA }}&:\text{Wonderful Answer,好答案} \\ \large\colorbox{#9D3DCF}{\color{white}\texttt{ RE }}&:\text{Run Excellently,完美运行} \\ \large\colorbox{#052242}{\color{white}\texttt{\:TLE\;}}&:\text{Time Limit Enough,时间充裕} \\ \large\colorbox{#052242}{\color{white}\texttt{\:MLE\;}}&:\text{Memory Limit Enough,内存充裕} \\ \large\colorbox{#052242}{\color{white}\texttt{\:OLE\;}}&:\text{Output Limit Enough,输出合法} \\ \large\colorbox{#0E1D69}{\color{white}\texttt{\:UKE\;}}&:\text{Unbelievably Keep Enough Score,难以置信地保持足够的分数} \end{aligned}

生命的意义\Large\boxed{生命的意义}

如果26个英文字母\text{如果26个英文字母} A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z\texttt{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z}

分别等于\text{分别等于} 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26\texttt{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26}

那么:\text{那么:}

获得知识,Knowledge =K+N+O+W+L+E+D+G+E=11+14+15+23+12+5+4+7+5=96%努力工作,Workhard =W+O+R+K+H+A+R+D=23+15+18+11+8+1+18+4=98%\begin{aligned} \text{获得知识,Knowledge =}&\texttt{K+N+O+W+L+E+D+G+E}&=&\text{11+14+15+23+12+5+4+7+5} &\text{=96\%} \\ \text{努力工作,Workhard =} & \texttt{W+O+R+K+H+A+R+D}&=&\text{23+15+18+11+8+1+18+4\quad} &\text{=98\%} \end{aligned}

也就是说知识和努力工作,对我们人生的影响,可以达到96%和98%。\text{也就是说知识和努力工作,对我们人生的影响,可以达到96\%和98\%。}

好运,Luck =L+U+C+K=12+21+3+11=47%爱情,Love =L+O+V+E=12+15+22+5=54%\begin{aligned} \text{好运,Luck =}&\texttt{L+U+C+K}&=&\text{12+21+3+11} &\text{=47\%} \\ \text{爱情,Love =} & \texttt{L+O+V+E}&=&\text{12+15+22+5} &\text{=54\%} \end{aligned}

看来,这些我们通常认为重要的东西 却并没起到最重要的作用。\text{看来,这些我们通常认为重要的东西 却并没起到最重要的作用。}

那么, 什么可以决定我们100%的人生呢?\text{那么, 什么可以决定我们100%的人生呢?}

是Money(金钱)吗?M+O+N+E+Y=13+15+14+5+25=72% 看来也不是。是Leadership (领导能力)吗?L+E+A+D+E+R+S+H+I+P=12+5+1+4+5+18+19+9+16=89%\text{是Money(金钱)吗?}\texttt{M+O+N+E+Y}=13+15+14+5+25=72\%\text{ 看来也不是。} \\ \text{是Leadership (领导能力)吗?}\texttt{L+E+A+D+E+R+S+H+I+P}=12+5+1+4+5+18+19+9+16=89\%

还不是。\text{还不是。}

金钱,权力也不能完全决定我们的生活。 那是什么呢?其实, 真正能使我们生活圆满的东西就在我们的 代码里面!\text{金钱,权力也不能完全决定我们的生活。 那是什么呢?} \\ \text{其实, 真正能使我们生活圆满的东西就在我们的 代码里面!}

输入输出流头文件,iostream =I+O+S+T+R+E+A+M=9+15+19+20+18+5+1+13=100%\color{red}\text{输入输出流头文件,iostream =}\texttt{I+O+S+T+R+E+A+M}=\text{9+15+19+20+18+5+1+13} \text{=100\%}

所以坚持写代码吧…\text{所以坚持写代码吧\dots}

(−1)−1×(4−5×14)=0∣1+1×(45+1+4)=511(1−4−514)=1∣1−1×(4−51−4)=52(−1)×(1+(4+5)/(1−4))=2∣(−11)+4×(5−1)×4=53(−1)×(1+(4−5×1)×4)=3∣(−1)×(14−51−4)=54(−1)−1×(4−5−1×4)=4∣(−1)+14×(5−14)=55(−1)−1×(4−5−1−4)=5∣(−1)−(1−4)×(5+14)=56(−1)+14/(5+1−4)=6∣1+14×(5−14)=57(−1)×(1+(4−5−1)×4)=7∣(−1)×(1−45−14)=58(−1)−14×(5−14)=8∣(−1)−1×4×5×(1−4)=59(−1)+1×(4+5+14)=9∣1+1×(45+14)=60(−1)−1×(4+5×(1−4))=10∣1−1×4×5×(1−4)=61(−1)−1×(4−(5−1)×4)=11∣(−1)−1+4×(5−1)×4=62(−1)+1×(4−5+14)=12∣(−1)−((1−4)×5−1)×4=63(−1)×(1+(4−5)×14)=13∣(−1)+1+4×(5−1)×4=64(−1)−1×(4−5−14)=14∣(−1)−1×(4−5×14)=65(−1)−1×(4−5×1×4)=15∣1×(14×5−1×4)=661−1×(4−5−14)=16∣(−1)+(1+4×(5−1))×4=671−1×(4−5×1×4)=17∣(1+1)×(4×5+14)=68(−1)×(1−4+5×(1−4))=18∣(−1)×(14−5×14)=69(−1)−1×(4−(5+1)×4)=19∣(−1)+14+5×14=70(−1)−1×(4−5×(1+4))=20∣(−1)−(1−4)×(5+1)×4=711−1×(4−(5+1)×4)=21∣((−1)−1)×4×(5−14)=72(−1)×(1−4−5−14)=22∣(−1)×(1−4−5×14)=73(−1)−(1−4)×(5−1+4)=23∣(−1)−1+4×(5+14)=741+1×(4+5+14)=24∣(−1)−(1−4×5×1)×4=751−(1−4)×(5−1+4)=25∣(−1)+1+4×(5+14)=76(−1)−(1−4)×(5+1×4)=26∣1−(1−4×5×1)×4=77(−1)+1−(4+5)×(1−4)=27∣(−1)−1+4×5×1×4=78(−1)×(1−4−5×(1+4))=28∣(−1)−(1−4×5−1)×4=79(−1)−(1−4)×(5+1+4)=29∣(−1)+1+4×5×1×4=80(−1)+1×(45−14)=30∣1−(1−4×5−1)×4=81(−1)−(1−4−5×1)×4=31∣(−1)−1+(4×5+1)×4=821+1×(45−14)=32∣(−1)×(1−(4×5+1)×4)=83(−1)×(1−4×5−14)=33∣(−1)+1+(4×5+1)×4=84(−11)+(4+5)×(1+4)=34∣1+14×(5+14)=85(−1)−1×4×(5−14)=35∣((−1)−1)×(4−51+4)=86(−1)+1−4×(5−14)=36∣(−1)+(1+4×5+1)×4=871−1×4×(5−14)=37∣(1+1)×(45−14)=881×(14+(5+1)×4)=38∣1+(1+4×5+1)×4=89(−1)×(1−4×(5+1+4))=39∣(−114)+51×4=90(−1)×(1−45+1×4)=40∣(−1)−(1−4×(5+1))×4=91(−1)×(1−45−1+4)=41∣(1+1)×(45+14)=92(−1)−1×(4−51+4)=42∣1−(1−4×(5+1))×4=93(−1)+1×(45−14)=43∣(−1)+(1+4)×(5+14)=94(−1)−(1+4)×(5−14)=44∣(−1)×(1−4×(5+1)×4)=951+1×(45−14)=45∣1+(1+4)×(5+14)=96(−1)×(14−51+4)=46∣1+1×4×(5+1)×4=97(−1)×(1−45+1−4)=47∣(−1)−1+4×5×(1+4)=98(−1)×(1−45−1×4)=48∣(−1)×(1−4×5×(1+4))=99(−1)×(1−45−1−4)=49∣(−1)+1+4×5×(1+4)=100(−1)−1×(4−51−4)=50∣⋯⋯⋯⋯⋯⋯⋯⋯⋯=⋯\begin{aligned} & (−1)−1\times (4−5 \times 1^4)&=&0 & &|& &1+1\times (45+1+4)&=&51 &\\& 1^{(1−4−5^{14})}&=&1 & &|& &1-1\times (4-51-4)&=&52 &\\& (−1)×(1+(4+5)/(1−4))&=&2 & &|& &(-11)+4\times (5-1)\times 4&=&53 &\\& (−1)×(1+(4−5×1)×4)&=&3 & &|& &(-1)\times (1^4-51-4)&=&54 &\\& (−1)−1×(4−5−1×4)&=&4 & &|& &(-1)+14\times (5-1^4)&=&55 &\\& (−1)−1×(4−5−1−4)&=&5 & &|& &(-1)-(1-4)\times (5+14)&=&56 &\\& (−1)+14/(5+1−4)&=&6 & &|& &1+14\times (5-1^4)&=&57 &\\& (-1)\times (1+(4-5-1)\times 4)&=&7 & &|& &(-1)\times (1-45-14)&=&58 &\\& (−1)−1^4×(5−14)&=&8 & &|& &(-1)-1\times 4\times 5\times (1-4)&=&59 &\\& (−1)+1×(4+5+1^4)&=&9 & &|& &1+1\times (45+14)&=&60 &\\& (−1)−1×(4+5×(1−4))&=&10 & &|& &1-1\times 4\times 5\times (1-4)&=&61 &\\& (-1)-1\times (4-(5-1)\times 4)&=&11 & &|& &(-1)-1+4\times (5-1)\times 4&=&62 &\\& (-1)+1\times (4-5+14)&=&12 & &|& &(-1)-((1-4)\times 5-1)\times 4&=&63 &\\& (-1)\times (1+(4-5)\times 14)&=&13 & &|& &(-1)+1+4\times (5-1)\times 4&=&64 &\\& (-1)-1\times (4-5-14)&=&14 & &|& &(-1)-1\times (4-5\times 14)&=&65 &\\& (-1)-1\times (4-5\times 1\times 4)&=&15 & &|& &1\times (14\times 5-1\times 4)&=&66 &\\& 1-1\times (4-5-14)&=&16 & &|& &(-1)+(1+4\times (5-1))\times 4&=&67 &\\& 1-1\times (4-5\times 1\times 4)&=&17 & &|& &(1+1)\times (4\times 5+14)&=&68 &\\& (-1)\times (1-4+5\times (1-4))&=&18 & &|& &(-1)\times (1^4-5\times 14)&=&69 &\\& (-1)-1\times (4-(5+1)\times 4)&=&19 & &|& &(-1)+1^4+5\times 14&=&70 &\\& (-1)-1\times (4-5\times (1+4))&=&20 & &|& &(-1)-(1-4)\times (5+1)\times 4&=&71 &\\& 1-1\times (4-(5+1)\times 4)&=&21 & &|& &((-1)-1)\times 4\times (5-14)&=&72 &\\& (-1)\times (1-4-5-14)&=&22 & &|& &(-1)\times (1-4-5\times 14)&=&73 &\\& (-1)-(1-4)\times (5-1+4)&=&23 & &|& &(-1)-1+4\times (5+14)&=&74 &\\& 1+1\times (4+5+14)&=&24 & &|& &(-1)-(1-4\times 5\times 1)\times 4&=&75 &\\& 1-(1-4)\times (5-1+4)&=&25 & &|& &(-1)+1+4\times (5+14)&=&76 &\\& (-1)-(1-4)\times (5+1\times 4)&=&26 & &|& &1-(1-4\times 5\times 1)\times 4&=&77 &\\& (-1)+1-(4+5)\times (1-4)&=&27 & &|& &(-1)-1+4\times 5\times 1\times 4&=&78 &\\& (-1)\times (1-4-5\times (1+4))&=&28 & &|& &(-1)-(1-4\times 5-1)\times 4&=&79 &\\& (-1)-(1-4)\times (5+1+4)&=&29 & &|& &(-1)+1+4\times 5\times 1\times 4&=&80 &\\& (-1)+1\times (45-14)&=&30 & &|& &1-(1-4\times 5-1)\times 4&=&81 &\\& (-1)-(1-4-5\times 1)\times 4&=&31 & &|& &(-1)-1+(4\times 5+1)\times 4&=&82 &\\& 1+1\times (45-14)&=&32 & &|& &(-1)\times (1-(4\times 5+1)\times 4)&=&83 &\\& (-1)\times (1-4\times 5-14)&=&33 & &|& &(-1)+1+(4\times 5+1)\times 4&=&84 &\\& (-11)+(4+5)\times (1+4)&=&34 & &|& &1+14\times (5+1^4)&=&85 &\\& (-1)-1\times 4\times (5-14)&=&35 & &|& &((-1)-1)\times (4-51+4)&=&86 &\\& (-1)+1-4\times (5-14)&=&36 & &|& &(-1)+(1+4\times 5+1)\times 4&=&87 &\\& 1-1\times 4\times (5-14)&=&37 & &|& &(1+1)\times (45-1^4)&=&88 &\\& 1\times (14+(5+1)\times 4)&=&38 & &|& &1+(1+4\times 5+1)\times 4&=&89 &\\& (-1)\times (1-4\times (5+1+4))&=&39 & &|& &(-114)+51\times 4&=&90 &\\& (-1)\times (1-45+1\times 4)&=&40 & &|& &(-1)-(1-4\times (5+1))\times 4&=&91 &\\& (-1)\times (1-45-1+4)&=&41 & &|& &(1+1)\times (45+1^4)&=&92 &\\& (-1)-1\times (4-51+4)&=&42 & &|& &1-(1-4\times (5+1))\times 4&=&93 &\\& (-1)+1\times (45-1^4)&=&43 & &|& &(-1)+(1+4)\times (5+14)&=&94 &\\& (-1)-(1+4)\times (5-14)&=&44 & &|& &(-1)\times (1-4\times (5+1)\times 4)&=&95 &\\& 1+1\times (45-1^4)&=&45 & &|& &1+(1+4)\times (5+14)&=&96 &\\& (-1)\times (1^4-51+4)&=&46 & &|& &1+1\times 4\times (5+1)\times 4&=&97 &\\& (-1)\times (1-45+1-4)&=&47 & &|& &(-1)-1+4\times 5\times (1+4)&=&98 &\\& (-1)\times (1-45-1\times 4)&=&48 & &|& &(-1)\times (1-4\times 5\times (1+4))&=&99 &\\& (-1)\times (1-45-1-4)&=&49 & &|& &(-1)+1+4\times 5\times (1+4)&=&100 &\\& (-1)-1\times (4-51-4)&=&50 & &|& & \cdots\cdots\cdots\cdots\cdots\cdots\cdots\cdots\cdots &=& \cdots & \end{aligned} 陈哲真报\Large\boxed{\text{陈哲真报}}

\Large \textbf{CZ念报再次进行}\stackrel{\textbf{Fake news}}\textbf{虚假报道}\textbf{!} \\ \large \textbf{新势力只会是洛谷发展的绊脚石!}

现在一听到Fake news就反胃。最新一期的「CZ念报」又堂皇正大地报道了一则假新闻。它甚至说出了,「小学生十分优秀,洛谷应当由小学生支配」这样的话。这当然并不是事实。洛谷中神犇的存在正是因为与外面蒟蒻的隔绝才能够成立。真是无法理解为何会出现这种虚假报道。或许是因为,小学生与这篇新闻的记者chen_zhe有不可明说的Peng You关系,他们试图联合起来掌控洛谷吧。可以说他们管理的活跃为信息社会的到来做出了很大的贡献,但若不能怀着正义与矜持以公正的目光进行报道的话就没有任何意义了。\begin{aligned} &\qquad \text{现在一听到Fake news就反胃。最新一期的「CZ念报」又堂皇正大地报道了一则}\\ &\text{假新闻。它甚至说出了,「小学生十分优秀,洛谷应当由小学生支配」这样的话。}\\ &\qquad \text{这当然并不是事实。洛谷中神犇的存在正是因为与外面蒟蒻的隔绝才能够成立。} \\ &\text{真是无法理解为何会出现这种虚假报道。或许是因为,小学生与这篇新闻的记者che} \\[-5pt] &\text{n\_zhe有}\stackrel{\tiny\text{Peng\kern{5pt} You}}{\text{不可明说的}}\text{关系,他们试图联合起来掌控洛谷吧。} \\ &\qquad \text{可以说他们管理的活跃为信息社会的到来做出了很大的贡献,但若不能怀着正义} \\ &\text{与矜持以公正的目光进行报道的话就没有任何意义了。} \\ \end{aligned} \def{\cBlk}{#000000} \def{\cGry}{#808080} \def{\cWit}{#ffffff} \def{\sP}{\kern{-12.4pt}} \newcommand{\bnk}[1]{\colorbox{black}{\color{\cBlk}\text{#1}}} \newcommand{\bnp}[1]{\colorbox{black}{\color{\cWit}\text{#1}}} \boxed{\color{\cWit}\begin{cases} \color{\cBlk}\bnp{\text{CZ念报}}\kern{50pt} \text{第114514季 谔月谔谔日\kern{80pt}} \\[16pt] \color{\cGry}\textbf{外来人自由来往的新时代} \\ \small\color{\cBlk}\textbf{不仅与各式各样的学科而且与三次元也连接了起来} \\[8pt] \color{\cBlk}\begin{matrix} \boxed{\tiny\text{小学生.jpg}\large\kern{-1pt}\raisebox{108pt}\text{} \raisebox{80pt}\text{太}\sP \raisebox{60pt}\text{蒟}\sP \raisebox{40pt}\text{蒻}\sP \raisebox{20pt}\text{,}\kern{8pt} \raisebox{80pt}\text{无}\sP \raisebox{60pt}\text{法}\sP \raisebox{40pt}\text{显}\sP \raisebox{20pt}\text{示}\kern{20pt}} & \begin{aligned}\\[-110pt] &\text{以下是3行简要信息…} \\ &\text{最近流入洛谷的人口不断增加} \\ &\text{其他er也暗地里流入了洛谷} \\ &\text{他们将给洛谷带来恩惠}\bnk{吗?} \\ &\text{\qquad各位也应该切身感受到了,最近又多了从} \\ &\text{各种样的学科来的大触以及神仙们。令人感到} \\[-4pt] &\text{震惊的是他们中的一类,外来人: }\stackrel{\textbf{小 学 生}}{\color{\cWit}\bnp{数据删除}} \\ &\text{可以自由穿梭于洛谷与其他网站之间。} \\ \end{aligned}\end{matrix} \\ \color{\cBlk}\text{外来人的存在将给洛谷带来恩惠}\bnk{的想法是不一定的,当务之急是应} \\ \color{\cBlk}\bnk{当尽早认识到这个事实,做出}\text{对洛谷的未来有利 }\bnk{的选择。得到他} \\ \color{\cBlk}\bnk{持有的口才的人,恐怕能够过上}\text{更加充实的生活。} \\ \color{\cBlk}\qquad\text{顺便说,得知他 }\bnk{33vrgmr5}\text{压倒性的优秀。}\bnk{Oier想进行学 } \\ \color{\cBlk}\bnk{习,}\text{希望能拥有}\bnk{能够将}\text{洛谷的美丽}\bnk{记录下来的语文水平。} \\[12pt] \color{\cGry}\textit{※顺便一提,不重要的部分涂黑了。}\\[20pt] \color{\cBlk}\small\text{摄影/(这种图片真的有摄影嘛)} \end{cases}}

滑稽

你上当了

高质量视频博主

In bilibili

In luogu

两小儿辩日

孔子东游,见两小儿辩斗,问其故。

一儿曰:

一儿曰:

一儿曰:hpq9gbdx

一儿曰:

孔子不能决也。

两小儿笑曰:

My User Card\texttt{My User Card}

\qquad\raisebox{20pt}\color{orange}\Huge\text{xiao\_rui\_xuan}\small{\texttt{\#663912}}

注册时间:2022-01-13&用户类型:普通用户\color{black}\texttt{注册时间:2022-01-13} \&\texttt{用户类型:普通用户}

关注 114514\purple{114514} 粉丝 1919810\purple{1919810} 提交 233\green{233} 通过 10086\purple{10086} 排名 2147483647\color{grey}{2147483647} CCF评级: 998244353\purple{998244353}

咕值 114514\green{114514}

\qquad做题数量\qquad\qquad\qquad咕值分项

  1. red 1919810 基础信用 233\color{red}\texttt{red 1919810}\qquad\ \texttt{基础信用 233}

  2. orange 10086     练习情况 2147483647\color{orange}\texttt{orange 10086}\ \ \ \ \texttt{ 练习情况 2147483647}

  3. yellow 114514 社区贡献 1919810\color{yellow}\texttt{yellow 114514}\texttt{ 社区贡献 1919810}

  4. green 233            比赛情况 10086\color{green}\texttt{green 233}\ \ \ \ \ \ \ \ \ \ \ \ \texttt{比赛情况 10086}

  5. blue 2147483647获得成就 998244353\color{skyblue}\texttt{blue 2147483647}\texttt{获得成就 998244353}%rqpklpnw

  6. purple 114514   总咕值 1919810\color{purple}\texttt{purple 114514}\ \ \ \texttt{总咕值 1919810}

  7. black 233           更新时间 10086-2147483647-998244353\color{black}\texttt{black 233}\ \ \ \ \ \ \ \ \ \ \ \texttt{更新时间 10086-2147483647-998244353}

  8. grey 114514       练习情况最后一次更新 1919810-233-10086\color{grey}\texttt{grey 114514}\ \ \ \ \ \ \ \texttt{练习情况最后一次更新 1919810-233-10086}

如果您想获得这份 User Card\texttt{User Card} 的源码并制作一个自己的 User Card\texttt{User Card},请点击这个按钮:

点我\rule{30pt}{15pt}\kern{-23.5pt}\color{white} \raisebox{4.7pt}{\footnotesize\sf 点我}

语文老师一回头, 鲁迅甘为孺子牛;

数学老师一回头, 六元六次都能求;

英语老师一回头, 满口洋文跑地球;

物理老师一回头, 一根杠杆撬地球;

化学老师一回头, 二氧化碳变汽油;

劳动老师一回头, 破铜烂铁来走秀;

体育老师一回头, 黛玉也能踢足球;

政治老师一回头, 全班同学都梦游;

美术老师一回头, 蒙娜丽莎也风流;

信息老师一回头, 带着学生玩网游。

代码
// ==UserScript==
// @name         自动展开
// @version      1.3.78
// @namespace    https://github.com/AirBashX/AutoUnfold/
// @homepageURL  https://github.com/AirBashX/UserScript
// @author       airbash
// @description  自动展开文档	隐藏部分;长期维护、PC+手机全平台支持;全平台支持:CSDN、编程之家、简书、知乎、百家号、百度资讯、百度百科、百度经验、百度知道、百度贴吧、百度新闻、新浪新闻、腾讯新闻、搜狐新闻、网易新闻、凤凰新闻、澎湃新闻、新京报、央广网、环球网、人民日报、人民网、中华网、今日头条、东方资讯、丁香园、有来医生、健康界、36氪、果壳、虎扑、虎嗅、头条、B站专栏、B站笔记、微博文章、豆瓣文章、豆瓣小组、开源中国、阿里云开发者社区、腾讯云开发者社区、华为云开发者社区、360图书馆、太平洋电脑网、中关村在线、汽车之家、游侠网、游民星空、网易大神、360问答、天眼查、天涯社区、新浪财经、东方财富网、喜马拉雅、it1352、代码随想录、古诗文网
// @match        *://*.blog.csdn.net/*
// @match        *://blog.csdn.net/*
// @match        *://ask.csdn.net/questions/*
// @match        *://download.csdn.net/download/*
// @match        *://wenku.csdn.net/answer/*
// @match        *://*.jb51.cc/*
// @match        *://*.jianshu.com/*
// @match        *://www.zhihu.com/question/*
// @match        *://zhuanlan.zhihu.com/p/*
// @match        *://jingyan.baidu.com/article*
// @match        *://zhidao.baidu.com/question*
// @match        *://baike.baidu.com/item/*
// @match        *://tieba.baidu.com/p*
// @match        *://wk.baidu.com/view/*
// @match        *://tanbi.baidu.com/h5apptopic/browse/*
// @match        *://baijiahao.baidu.com/s*
// @match        *://easylearn.baidu.com/edu-page/*
// @match        *://mbd.baidu.com/newspage/data/*
// @match        *://news.baidu.com/news*
// @match        *://m.baidu.com/sf_baijiahao/*
// @match        *://*.sina.cn/*
// @match        *://3g.163.com/*
// @match        *://*.sohu.com/a/*
// @match        *://view.inews.qq.com/*
// @match        *://*.ifeng.com/*
// @match        *://m.thepaper.cn/newsDetail_forward*
// @match        *://m.bjnews.com.cn/detail/*
// @match        *://*.huanqiu.com/article/*
// @match        *://3w.huanqiu.com/a/*
// @match        *://3g.china.com/act/*
// @match        *://m.toutiao.com/article/*
// @match        *://mini.eastday.com/*
// @match        *://*.dxy.cn/*
// @match        *://www.cn-healthcare.com/*
// @match        *://m.youlai.cn/*
// @match        *://space.bilibili.com/*/dynamic*
// @match        *://t.bilibili.com/*
// @match        *://www.bilibili.com/read/mobile*
// @match        *://m.bilibili.com/opus/*
// @match        *://weibo.com/ttarticle/p/show?id=*
// @match        *://card.weibo.com/article/m/show/id*
// @match        *://*.douban.com/*
// @match        *://www.oschina.net/p/*
// @match        *://developer.aliyun.com/article/*
// @match        *://cloud.tencent.com/developer/article/*
// @match        *://cloud.tencent.com/developer/beta/article/*
// @match        *://huaweicloud.csdn.net/*
// @match        *://www.360doc.cn/article/*
// @match        *://www.360doc.com/content/*
// @match        *://g.pconline.com.cn/x/*
// @match        *://m.zol.com.cn/article/*
// @match        *://m.autohome.com.cn/news/*
// @match        *://chejiahao.m.autohome.com.cn/info/*
// @match        *://*.cnr.cn/*
// @match        *://club.m.autohome.com.cn/bbs/*
// @match        *://3g.ali213.net/*
// @match        *://wap.gamersky.com/*
// @match        *://m.ds.163.com/*
// @match        *://wenda.so.com/q/*
// @match        *://m.wenda.so.com/q/*
// @match        *://n.tianyancha.com/content/*
// @match        *://bbs.tianya.cn/m/*
// @match        *://wap.eastmoney.com/a/*
// @match        *://mguba.eastmoney.com/*
// @match        *://emcreative.eastmoney.com/*
// @match        *://*.ximalaya.com/*
// @match        *://www.gushiwen.cn/*
// @match        *://*.it1352.com/*
// @match        *://www.taodudu.cc/news/*
// @match        *://programmercarl.com/*
// @match        *://blog.didispace.com/*
// @match        *://*.wang1314.com/doc/*
// @match        *://*.k4china.com/*
// @match        *://www.tofacebook.com/*
// @run-at       document-start
// @icon         data:image/png;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAA29JREFUeF7tmMvrT08Yx1/fnViwVcq/gqKQa8gtd0Kyk8Vv81tZKWGByC233JWIwp9iYcPORkT56fl1po5pnjNn5syc6dOZz/Iz1/dr3s9z5pk5Jv6bm7h+KoDqgIkTqCEwcQPUJFhDoIbAxAnUEJi4AepXoIZADYGJE4gJgSPAF+BFYXYngU/AsyH7CAUg4s8B84GNBSGI+DPAAmDzEAghANriDfS9wO0hJxAx9iBwvhFvhu8HbkbM1fsz6BJfAoJL/CAIfRzQJX5MCF3ioyH4AOwGrjQxbxb5Cixy2G0fcCvGhj3GuMS79vEfIH1v9Jjz/y5dADTx/wCfgScjQdDE/wt8dCTiIAgaAE38MeBBI1yyrw3hN3AgoRO2A9eshCcnfwK42+xjvQJBxj70OcEFQMRftGz+C5BcYGfanBD6iDf6DgFXLbHihG3A4y4ILgBbgEeOQWuA147/VwFvrP/FCbK4K0x8hyLtmnj53D13TCD9LwMLW23fAclLnS7QQmCDspAGYRdwJxEEifmzlgN/AiL+npJ35HLWTsy9xPuS4A5lwVAI0t92iOaCUcX7AEh7qBPEivcdTlgHvPJ435Xtu07+aHMtnxdq+/Y+fPcA6RuaEzQIq4G3CoQi4vs4wOx3GfAhIDEuB947nOCCECpeEtslYNDJm731cYDp6xIlbVpOWAG880AoKj7EAUbHWuClwwlble+tC4IMl1J6aaukNVNKzMsJ23lE2pPEvL33EAfEQlipxP4364Y3uvgYB/ggHG6urjZoDYLpJ9fb4wEnL/1PKWt5PjZ/N8c4IDWELvGuhJdM/BAHxELYBDxtnUFR8SkAyBxaYtypWNpAKC4+FQCZZ49SAmsQpIpcAlxwBKzY3nW3P91UqUEx7us8JAfYc2sQQl6PNfHyDpHltSklgC4n9IEgoXHdUdVlE58yBNpukEuRqwbXbowyVuoHud5GlbQ+m3e1p3aAWSukitRs733MGCLcjM0FQObv855QVHyuEGgfTJcTpBaQbJ+kqot1Q04HmD1p7wk/SosfwwEGgvaeYNp7v+HFnrQ2bgwHmLW194Ri4sd0gFY7FBVfAkC7diguvhQAA2Fxinp+aE4YMwcM3WuW8RVAFqwzNGl1wAwdVpatVgdkwTpDk1YHzNBhZdlqdUAWrDM06eQd8Acza/FB2qWb3AAAAABJRU5ErkJggg==
// @grant        none
// @license      GPL-3.0
// ==/UserScript==
(function () {
	"use strict";

	/**
	 * 网站列表
	 * @type {name/url/操作类型}
	 */
	const websites = [
		{
			name: "CSDN",
			url: "blog.csdn.net",
			handles: [
				//PC端:自动展开代码块
				{
					type: "click",
					item: ".hide-preCode-bt",
				},
				//PC端:关注博主即可阅读全文
				{
					type: "display",
					item: ".hide-article-box",
				},
				//阅读全文
				{
					type: "display",
					item: ".btn_mod",
				},
				{
					type: "height",
					item: ".article_content",
				},
				{
					type: "display",
					item: ".readall_box",
				},
				//展开评论
				{
					type: "click",
					item: ".btn_comment_readmore",
				},
			],
		},
		{
			name: "CSDN问答",
			url: "ask.csdn.net/questions",
			handles: [
				//PC端:展开全部
				{
					type: "display",
					item: ".expandBtn",
				},
				{
					type: "height",
					item: ".normal-style",
				},
				//PC端:查看等多回答
				{
					type: "click",
					item: ".ic_ask_down_reeow",
				},
			],
		},
		{
			name: "CSDN下载",
			url: "download.csdn.net/download",
			handles: [
				{
					type: "click",
					item: ".fl",
				},
				//展开全部
				{
					type: "click",
					item: ".unfold-font",
				},
				//查看更多
				{
					type: "click",
					item: ".el-button--text",
				},
			],
		},
		{
			name: "CSDN文库",
			url: "wenku.csdn.net/answer/",
			handles: [
				//展开全部
				{
					type: "click",
					item: ".text-all",
				},
			],
		},
		{
			name: "it1352",
			url: "it1352.com",
			handles: [
				//PC端:查看全文:解除公众号限制
				{
					type: "display",
					item: ".arc-body-main-more",
				},
				{
					type: "height",
					item: ".arc-body-main",
				},
			],
		},
		{
			name: "编程之家",
			url: "jb51.cc",
			handles: [
				//PC端:阅读全文
				{
					type: "display",
					item: "#read-more-wrap",
				},
				{
					type: "height",
					item: "#container",
				},
				//展开
				{
					type: "height",
					item: ".read-more-hidden",
				},
			],
		},
		{
			name: "简书",
			url: "jianshu.com/p",
			handles: [
				//阅读全文
				{
					type: "display",
					item: ".collapse-tips",
				},
				{
					type: "height",
					item: ".collapse-free-content",
				},
				//允许滑动
				{
					type: "overflow",
					item: "body",
				},
			],
			//删除遮挡栏
			fun: function () {
				let css = document.createElement("style");
				css.innerText = ".collapse-free-content::after {height: 0px !important}";
				document.head.appendChild(css);
			},
		},
		{
			name: "知乎",
			url: "www.zhihu.com/question",
			handles: [
				{
					type: "display",
					item: ".ContentItem-rightButton",
				},
				{
					type: "height",
					item: ".RichContent-inner--collapsed",
				},
			],
			fun: function () {
				let css = document.createElement("style");
				//空白遮挡
				css.innerText += ".RichContent--unescapable.is-collapsed .RichContent-inner {mask-image: unset !important;}";
				//点击按钮
				css.innerText += ".RichContent.is-collapsed {cursor: unset !important;}";
				document.head.append(css);
			},
		},
		{
			name: "百度经验",
			url: "jingyan.baidu.com/article",
			handles: [
				//PC端:展开内容
				{
					type: "display",
					item: ".read-whole-mask",
				},
				{
					type: "height",
					item: ".exp-content-container",
				},
				//展开内容
				{
					type: "click",
					item: ".more-img-opt",
				},
			],
		},
		{
			name: "百度知道",
			url: "zhidao.baidu.com/question",
			handles: [
				//展开剩余
				{
					type: "display",
					item: ".w-detail-display-btn",
				},
				{
					type: "height",
					item: ".w-detail-container",
				},
				//PC端:展开全部(1)
				{
					type: "display",
					item: ".wgt-best-mask",
				},
				{
					type: "height",
					item: ".best-text",
				},
				//PC端:展开全部(2)
				{
					type: "display",
					item: ".wgt-answers-mask",
				},
				{
					type: "height",
					item: ".answer-text",
				},
				//PC端:更多回答1
				{
					type: "display",
					item: "#show-hide-container",
				},
				{
					type: "classList",
					item: ".answer",
					remove: "answer-hide",
				},
				//PC端:更多回答2
				{
					type: "display",
					item: ".show-answer-dispute",
				},
				{
					type: "classList",
					item: ".answer",
					remove: "answer-dispute-hide",
				},
			],
		},
		{
			name: "百度百科",
			url: "baike.baidu.com/item",
			handles: [
				//展开全部
				{
					type: "click",
					item: ".layout-icons_down-arrow",
				},
				//点击加载更多
				{
					type: "display",
					item: "#ui_refresh_down",
				},
			],
			fun: function () {
				//点击加载更多
				let button = document.querySelector(".yx-load-more-inner");
				button.dispatchEvent(new Event("tap"));
			},
		},
		{
			name: "百度贴吧",
			url: "tieba.baidu.com/p",
			handles: [
				//PC端:自动展开图片
				{
					type: "display",
					item: ".replace_tip",
				},
				{
					type: "height",
					item: ".replace_div",
				},
				//PC端:自动展开回复
				{
					type: "click",
					item: ".j_lzl_m",
				},
			],
		},
		{
			name: "百度文库手机版1",
			url: "wk.baidu.com/view",
			handles: [
				//自动展开
				{
					type: "height",
					item: ".reader-copy",
				},
				{
					//透明遮挡
					type: "display",
					item: ".blur-bg",
				},
			],
			fun: function () {
				//工具相关内容下移,避免遮挡
				let item = document.querySelector(".fold-pager");
				if (item) {
					item.style.setProperty("margin-top", "0px");
				}
			},
		},
		{
			name: "百度文库手机版2",
			url: "tanbi.baidu.com/h5apptopic/browse/",
			handles: [
				{
					//下载app,继续阅读
					type: "display",
					item: ".continue-read-wrap",
				},
			],
			fun: function () {
				let item = document.querySelector("#read-view");
				item.setAttribute("scrolling", "yes");
			},
		},
		{
			name: "百家题库",
			url: "easylearn.baidu.com/edu-page/",
			handles: [
				//阅读全文
				{
					type: "display",
					item: ".shiti-answer .mask",
				},
				{
					type: "height",
					item: ".shiti-answer .analysis-text",
				},
				// 显示完整题目
				{
					type: "height",
					item: ".question-cont .tigan",
				},
				// 移除遮罩
				{
					type: "height",
					item: ".question-cont .tigan .mask",
				},
			],
		},
		{
			name: "百家号",
			url: "baijiahao.baidu.com/s",
			handles: [
				//阅读全文
				{
					type: "display",
					item: ".oPadding",
				},
				{
					type: "height",
					item: ".mainContent",
				},
				//点击展开全文:狐猴浏览器特有bug
				{
					type: "height",
					item: "#mainContentContainer",
				},
				{
					type: "display",
					item: ".foldMaskWrapper",
				},
			],
		},
		{
			name: "百度新闻",
			url: "mbd.baidu.com/newspage/data",
			handles: [
				//打开百度app:普通新闻
				{
					type: "display",
					item: "[class^=foldMaskWrapper-]",
				},
				{
					type: "height",
					item: "#dynamicItem",
				},
				//打开百度app:百度首页
				{
					type: "display",
					item: ".foldMaskWrapper",
				},
				{
					type: "height",
					item: "#mainContentContainer",
				},
			],
		},
		{
			name: "新浪新闻",
			url: "sina.cn",
			handles: [
				//展开
				{
					type: "display",
					item: ".look_more",
				},
				{
					type: "height",
					item: ".s_card",
				},
			],
		},
		{
			name: "网易新闻",
			url: "3g.163.com",
			handles: [
				//展开
				{
					type: "display",
					item: ".show_article",
				},
				{
					type: "height",
					item: "article",
				},
			],
		},
		{
			name: "搜狐新闻",
			url: "sohu.com/a",
			handles: [],
			fun: function () {
				onload = function () {
					let item = document.querySelector("#artLookAll");
					item.click();
					clearInterval(interval);
				};
			},
		},
		{
			name: "腾讯新闻",
			url: "view.inews.qq.com/",
			handles: [
				//点击展开全文
				{
					type: "display",
					item: "[class^=show-more_outer__]",
				},
				{
					type: "display",
					item: "[class^=show-more-article_cover__]",
				},
				{
					type: "height",
					item: "[class^=show-more_height-not-full__]",
				},
			],
		},
		{
			name: "凤凰新闻",
			url: "ifeng.com/",
			handles: [
				//点击展开全文(新闻)
				{
					type: "display",
					item: "[class^=index_more_]",
				},
				{
					type: "display",
					item: "[class^=index_tip_",
				},
				{
					type: "height",
					item: "[class^=index_main_content_]",
				},

				//点击查看完整内容(房产)
				{
					type: "display",
					item: ".showall",
				},
				{
					type: "height",
					item: ".article",
				},
				//展开全文(汽车)
				{
					type: "display",
					item: "[class^=more]",
				},
				{
					type: "height",
					item: "[class^=main_content]",
				},
				//展开(视频简介)
				{
					type: "click",
					item: "[class^=index_videoBrefTextBtn_]",
				},
			],
		},
		{
			name: "澎湃新闻",
			url: "m.thepaper.cn/newsDetail_forward",
			handles: [
				//展开全文
				{
					type: "display",
					item: "#clickForMore",
				},
				{
					type: "height",
					item: ".newsdetail_body",
				},
			],
		},
		{
			name: "新京报",
			url: "m.bjnews.com.cn/detail/",
			handles: [
				//展开全文
				{
					type: "display",
					item: ".shade",
				},
				{
					type: "height",
					item: ".article",
				},
			],
		},
		{
			name: "央广网",
			url: "cnr.cn",
			handles: [
				//展开全文
				{
					type: "display",
					item: "#readmore",
				},
				{
					type: "height",
					item: "#perny-main",
				},
			],
		},
		{
			name: "环球网1",
			url: "huanqiu.com/article/",
			handles: [
				//展开全文
				{
					type: "click",
					item: ".unfold-btn",
				},
			],
		},
		{
			name: "环球网2",
			url: "3w.huanqiu.com/a/",
			handles: [
				//展开全文
				{
					type: "click",
					item: "#more",
				},
			],
		},
		{
			name: "中华网",
			url: "3g.china.com/act/",
			handles: [
				//点击查看全文(剩余n%)
				{
					type: "display",
					item: "#js-continue-reading",
				},
				{
					type: "height",
					item: "#artiCon",
				},
			],
		},
		{
			name: "今日头条:移动版",
			url: "m.toutiao.com/article/",
			handles: [
				//点击查看完整内容
				{
					type: "display",
					item: ".toggle-button-container",
				},
				{
					type: "display",
					item: ".content-shadow",
				},
				{
					type: "height",
					item: ".content",
				},
			],
		},
		{
			name: "东方资讯",
			url: "mini.eastday.com/",
			handles: [
				//查看全文
				{
					type: "display",
					item: ".Unfolded-btn",
				},
				{
					type: "height",
					item: ".article-content",
				},
			],
		},
		{
			name: "丁香园",
			url: "dxy.cn",
			handles: [
				//显示第一条评论
				{
					type: "height",
					item: ".dicussion-text",
				},
				//展开阅读全文
				{
					type: "display",
					item: "[class^=contentWrapBottom___]",
				},
				{
					type: "height",
					item: "[class^=contentWrap___]",
				},
				//机构号:展开阅读全文
				{
					type: "display",
					item: ".show-all",
				},
				{
					type: "height",
					item: ".article__content",
				},
			],
		},
		{
			name: "健康界",
			url: "www.cn-healthcare.com/",
			handles: [
				//阅读全文
				{
					type: "display",
					item: ".mask",
				},
				{
					type: "height",
					item: "#artbody",
				},
			],
		},
		{
			name: "有来医生",
			url: "m.youlai.cn/",
			handles: [
				//阅读全文
				{
					type: "display",
					item: ".showBtn--nqouA",
				},
				{
					type: "height",
					item: ".show-more",
				},
			],
		},
		// {
		// 	name: "B站视频",
		// 	url: "www.bilibili.com/video/",
		// 	handles: [
		// 		//PC端:展开内容
		// 		{
		// 			type: "display",
		// 			item: ".toggle-btn",
		// 		},
		// 		{
		// 			type: "height",
		// 			item: ".basic-desc-info",
		// 		},
		// 	],
		// },
		{
			name: "B站动态",
			url: "space.bilibili.com/",
			handles: [],
			fun: function () {
				//PC端展开简介
				let item1s = document.querySelectorAll(".folded");
				for (let item of item1s) {
					item.className = "bili-rich-text__content";
				}
				let item2s = document.querySelectorAll(".bili-rich-text__action");
				for (let item2 of item2s) {
					item2.innerText = "收起";
				}
			},
		},
		{
			name: "B站专栏",
			url: "www.bilibili.com/read/mobile",
			handles: [
				//展开阅读全文
				{
					type: "display",
					item: ".read-more",
				},
				{
					type: "classList",
					item: ".read-article-box",
					remove: "limit",
				},
				{
					type: "classList",
					item: ".read-article-box",
					remove: "show-later",
				},
			],
		},
		{
			name: "B站笔记",
			url: "m.bilibili.com/opus/",
			handles: [
				//展开阅读全文
				{
					type: "display",
					item: ".opus-read-more",
				},
				{
					type: "classList",
					item: ".opus-module-content",
					remove: "limit",
				},
			],
		},
		{
			name: "微博文章PC版",
			url: "weibo.com/ttarticle/p/show?id=",
			handles: [
				{
					type: "height",
					item: ".WB_editor_iframe_new",
				},
				{
					type: "display",
					item: ".btn_line",
				},
			],
		},
		{
			name: "豆瓣",
			url: "douban.com",
			handles: [
				//点击展开全文
				{
					type: "display",
					item: ".oia-readall",
				},
				{
					type: "height",
					item: ".note-content",
				},
			],
			fun: function () {
				//展开(简介)
				let item1 = document.querySelector(".subject-intro p");
				try {
					let str = item1.getAttribute("data-content");
					if (str) {
						item1.innerText = str;
					}
				} catch (error) {
					/* empty */
				}
				onload = function () {
					//展开(评论)
					let items2 = document.querySelectorAll(".LinesEllipsis-readmore");
					for (let item of items2) {
						item.click();
					}

					//展开(PC端:评论;简介;人物简介)
					let items3 = document.querySelectorAll(".expand,.a_show_full,.fold-switch");
					for (let item of items3) {
						item.click();
					}
				};
			},
		},
		{
			name: "开源中国",
			url: "www.oschina.net/p/",
			handles: [
				//展开阅读全文
				{
					type: "display",
					item: ".collapse-bar",
				},
				{
					type: "height",
					item: ".article-detail",
				},
			],
		},
		{
			name: "阿里云开发者社区",
			url: "developer.aliyun.com/article",
			handles: [
				//关注
				{
					type: "height",
					item: ".article-hide-content",
				},
				{
					type: "display",
					item: ".article-hide-box",
				},
			],
		},
		{
			name: "腾讯云开发者社区",
			url: "cloud.tencent.com/developer/article/",
			handles: [
				//旧版:展开阅读全文
				{
					type: "height",
					item: ".com-markdown-collpase-main",
				},
				{
					type: "display",
					item: ".com-markdown-collpase-toggle",
				},
				//新版:展开阅读全文
				{
					type: "height",
					item: ".cdc-expand-area__main",
				},
				{
					type: "display",
					item: ".cdc-expand-area__toggle",
				},
			],
		},
		{
			name: "华为云开发者社区",
			url: "huaweicloud.csdn.net/",
			handles: [
				//展开阅读全文
				{
					type: "height",
					item: ".user-article",
				},
				{
					type: "display",
					item: ".article-show-more",
				},
			],
		},
		{
			name: "360图书馆手机版",
			url: "www.360doc.cn/article/",
			handles: [
				//移动版:展开剩余内容
				{
					type: "display",
					item: ".article_showall",
				},
				{
					type: "height",
					item: ".article",
				},
			],
		},
		{
			name: "360图书馆PC版",
			url: "www.360doc.com/content/",
			handles: [
				{
					type: "classList",
					item: "body",
					remove: "articleMaxH",
				},
			],
		},
		{
			name: "太平洋电脑网",
			url: "g.pconline.com.cn/x/",
			handles: [
				//展开全文
				{
					type: "display",
					item: ".show_article",
				},
				{
					type: "height",
					item: ".art-content",
				},
			],
		},
		{
			name: "中关村在线",
			url: "m.zol.com.cn/article/",
			handles: [
				//展开全文
				{
					type: "display",
					item: ".unfold-article-btn",
				},
				{
					type: "height",
					item: ".article-content",
				},
			],
		},
		{
			name: "汽车之家:新闻",
			url: "m.autohome.com.cn/news/",
			handles: [
				//点击展开剩余部分
				{
					type: "display",
					item: "#continue_reading",
				},
				{
					type: "classList",
					item: "#content .fn-hide",
					remove: "fn-hide",
				},
			],
		},
		{
			name: "汽车之家:车家号",
			url: "chejiahao.m.autohome.com.cn/info/",
			handles: [
				//点击展开剩余部分
				{
					type: "display",
					item: "#continue_reading_new",
				},
				{
					type: "classList",
					item: ".pgc-details .fn-hide",
					remove: "fn-hide",
				},
			],
		},
		{
			name: "汽车之家:论坛",
			url: "club.m.autohome.com.cn/bbs/",
			handles: [
				//点击展开剩余部分
				{
					type: "display",
					item: "#continue_reading",
				},
				{
					type: "height",
					item: "#topicContentSection",
				},
				{
					type: "classList",
					item: "#topicContentSection .fn-hide",
					remove: "fn-hide",
				},
			],
		},
		{
			name: "游侠网",
			url: "3g.ali213.net",
			handles: [
				//阅读全文
				{
					type: "display",
					item: ".read-all-con",
				},
				{
					type: "display",
					item: ".read-all-con2",
				},
				{
					type: "height",
					item: ".detail-content",
				},
			],
		},
		{
			name: "游民星空",
			url: "wap.gamersky.com/",
			handles: [
				//展开全文
				{
					type: "display",
					item: ".gsAreaContextOpen",
				},
				{
					type: "height",
					item: "#gsAreaContext",
				},
			],
		},
		{
			name: "网易大神",
			url: "m.ds.163.com/",
			handles: [
				//展开全文
				{
					type: "display",
					item: ".feed-page-main-controller",
				},
				{
					type: "height",
					item: ".feed-page__main-content",
				},
			],
		},
		{
			name: "360文档",
			url: "wenda.so.com/q/",
			handles: [
				//PC端:展开问答
				{
					type: "display",
					item: ".answer-part__has-folder__btn",
				},
				{
					type: "height",
					item: ".answer-part__has-folder",
				},
				//PC端:更多回答
				{
					type: "display",
					item: ".js-unfold-page",
				},
				{
					type: "classList",
					item: ".hide.js-unfold-answer.answer-fold-box",
					remove: "hide",
				},
				//展开完整答案
				{
					type: "display",
					item: ".overflow-cover",
				},
				{
					type: "height",
					item: ".max-height",
				},
				//更多回答
				{
					type: "display",
					item: ".js-rest-icon",
				},
				{
					type: "classList",
					item: ".ans-box.hide",
					remove: "hide",
				},
			],
		},
		{
			name: "天眼查",
			url: "n.tianyancha.com/content",
			handles: [
				//展开剩余内容
				{
					type: "display",
					item: "[class^=index_other-content-more__]",
				},
				{
					type: "height",
					item: "[class^=index_other-content-container__]",
				},
			],
		},
		{
			name: "天涯社区",
			url: "bbs.tianya.cn/m/",
			handles: [
				//点击展开完整贴文
				{
					type: "display",
					item: ".openFullPost",
				},
				{
					type: "height",
					item: ".onhide",
				},
			],
			//删除透明遮挡
			fun: function () {
				let css = document.createElement("style");
				css.innerHTML = ".item-lz .bd.onhide:before{content:none}";
				document.head.append(css);
			},
		},
		{
			name: "新浪财经",
			url: "cj.sina.cn/article/",
			handles: [
				//打开app阅读全文
				{
					type: "display",
					item: ".unfold-box",
				},
				{
					type: "height",
					item: ".main-body",
				},
			],
		},
		{
			name: "东方财富网",
			url: "wap.eastmoney.com/a/",
			handles: [
				//点击展开完整贴文
				{
					type: "display",
					item: ".fold-btn",
				},
				{
					type: "display",
					item: ".fold-arrow",
				},
				{
					type: "height",
					item: "#articleContent",
				},
				//删除透明遮挡
				{
					type: "display",
					item: ".fold-mask",
				},
			],
		},
		{
			name: "东方财富网:社区",
			url: "emcreative.eastmoney.com/",
			handles: [
				//点击阅读全文
				{
					type: "display",
					item: ".my_ad_wrap",
				},
				{
					type: "height",
					item: "#text-content",
				},
			],
		},
		{
			name: "东方财富网:股吧",
			url: "mguba.eastmoney.com/",
			handles: [
				//点击阅读全文
				{
					type: "display",
					item: "#foldup_box",
				},
				{
					type: "height",
					item: "#content",
				},
			],
		},
		{
			name: "喜马拉雅",
			url: "www.ximalaya.com/",
			handles: [
				//简介
				{
					type: "display",
					item: ".more-intro-wrapper",
				},
				{
					type: "height",
					item: ".layout-main div>article",
				},
			],
		},
		{
			name: "喜马拉雅",
			url: "m.ximalaya.com/",
			handles: [
				//简介+评论
				{
					type: "height",
					item: ".stretch-box",
				},
			],
			fun: function () {
				onload = function () {
					let item1 = document.querySelector(".stretch-more");
					let item2 = item1.parentElement;
					item2.remove();
				};
			},
		},
		{
			name: "古诗文网",
			url: "www.gushiwen.cn/",
			handles: [],
			fun: function () {
				let item1s = document.evaluate("//a[contains(text(), '阅读全文')]", document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
				for (let i = 0; i < item1s.snapshotLength; i++) {
					item1s.snapshotItem(i).click();
				}
				clearInterval(interval);
			},
		},
		{
			name: "淘嘟嘟",
			url: "www.taodudu.cc/news/",
			handles: [
				//阅读全文,人机检测
				{
					type: "display",
					item: "#vip",
				},
				{
					type: "height",
					item: "#article_content",
				},
			],
		},
		{
			name: "代码随想录",
			url: "programmercarl.com/",
			handles: [
				//阅读全文
				{
					type: "display",
					item: "#read-more-wrap",
				},
				{
					type: "height",
					item: "#container",
				},
			],
		},
		{
			name: "程序猿DD",
			url: "blog.didispace.com",
			handles: [
				//阅读全文,人机检测
				{
					type: "display",
					item: "#read-more-wrap",
				},
				{
					type: "height",
					item: ".article",
				},
			],
		},
		{
			name: "好网角收藏夹",
			url: "wang1314.com/doc",
			handles: [
				//PC端:阅读全文,人机检测
				{
					type: "display",
					item: "#show_content_bar",
				},
				{
					type: "height",
					item: "#art_body",
				},
				//阅读原文全部内容
				{
					type: "display",
					item: "#show_content_bar",
				},
				{
					type: "height",
					item: "#body_content",
				},
			],
		},
		{
			name: "科中资源网",
			url: "k4china.com",
			handles: [
				//点击阅读全文
				{
					type: "click",
					item: ".readmore",
				},
			],
		},
		{
			name: "tofacebook",
			url: "www.tofacebook.com",
			handles: [
				//阅读全部
				{
					type: "height",
					item: ".panel-default",
				},
				{
					type: "display",
					item: ".more-box",
				},
			],
		},
	];
	let time = 0;
	let interval = setInterval(() => {
		if (++time == 100) {
			clearInterval(interval);
		}
		for (let website of websites) {
			if (location.href.indexOf(website.url) != -1) {
				if (website.fun) {
					website.fun();
				}
				for (let handle of website.handles) {
					let items = document.querySelectorAll(handle.item);
					if (items.length != 0) {
						if (handle.type == "display") {
							//隐藏遮挡部分
							for (let item of items) {
								item.style.display = "none";
							}
						} else if (handle.type == "height") {
							//加长内容部分
							for (let item of items) {
								item.style.setProperty("height", "unset", "important");
								item.style.setProperty("min-height", "unset", "important");
								item.style.setProperty("max-height", "unset", "important");
							}
						} else if (handle.type == "overflow") {
							//防止无法滑动
							for (let item of items) {
								item.style.setProperty("overflow", "unset", "important");
							}
						} else if (handle.type == "classList") {
							//删除className
							for (let item of items) {
								item.classList.remove(handle.remove);
							}
						} else if (handle.type == "click") {
							//模拟一次点击
							for (let item of items) {
								if (item != null && item.getAttribute("opened") != "yes") {
									item.click();
									item.setAttribute("opened", "yes");
								}
							}
						} else {
							//模拟多次点击
							for (let item of items) {
								if (item) {
									item.click();
								}
							}
						}
					}
				}
			}
		}
	}, 100);
})();
代码
// ==UserScript==
// @name         万能验证码自动输入(升级版)
// @namespace    https://www.like996.icu:1205/
// @version      6.5
// @description  自动识别填写英文、数字、滑动拼图、滑动行为等验证码,对于自动规则无法覆盖的验证码页面请手动配置规则。感谢老六、哈士奇两位大佬提供的帮助!
// @author       crab
// @match        *://*/*
// @connect      like996.icu
// @connect      *
// @require      http://libs.baidu.com/jquery/2.0.0/jquery.min.js
// @require      http://ajax.aspnetcdn.com/ajax/jquery/jquery-2.0.0.min.js
// @resource     cktools https://like996.icu:1205/statics/js/CKTools.js
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_listValues
// @grant        GM_openInTab
// @grant        GM_registerMenuCommand
// @grant        GM_unregisterMenuCommand
// @grant        GM_xmlhttpRequest
// @grant        GM_getResourceText
// @nocompat     Chrome
// ==/UserScript==

let Set = undefined;

class CaptchaWrite {
    IdCard() {
        return Set["idCard"] == undefined ? "" : Set["idCard"];
    }

    getCaptchaServerUrl() {
        return "https://www.like996.icu:1205/";
    }

    constructor() {
        this.Tip = this.AddTip();
        if (GM_listValues().indexOf("set") == -1) {
            var WhetherHelp = confirm("万能验证码填入\n初始化完毕!\n在将来的时间里将会在后台默默的为你\n自动识别页面是否存在验证码并填入。\n对于一些书写不规整的验证码页面请手动添加规则。\n如需查看使用帮助请点击确认。");
            if (WhetherHelp == true) {
                this.openHelp();
            }
        }
        Set = GM_getValue("set");
        Set = Set == undefined ? {} : Set;
        // 设置自动识别初始值(注意:此处包含您的识别码,请勿随意发送给他人,否则将会造成泄漏!)
        var configSetKeys = {
            "autoIdentification": "true",
            "showHintCheck": "true",
            "warningTone": "true",
            "autoBlackList": "false",
            "hotKeyToImgResult": "false",
            "idCard": undefined
        };
        $.each(configSetKeys, function (key, val) {
            if (Set[key] == undefined) {
                Set[key] = val;
                GM_setValue("set", Set);
            }
        });
    }

    // 恢复出厂设置
    clearSet() {
        var that = this;
        let res = confirm('您确认要恢复出厂设置吗?注意:清除后所有内容均需重新设置!');
        if (res == true) {
            GM_setValue("set", { "idCard": "" });
        }
        return res;
    }

    // 打开帮助页面
    openHelp() {
        return GM_openInTab(this.getCaptchaServerUrl() + "help.html", {
            active: true
        });
    }

    //手动添加英数规则
    LetterPickUp() {
        let that = this;
        let AddRule = {};
        let IdentifyResult = '';
        that.Hint('请对验证码图片点击右键!', 1000 * 50);
        $("canvas,img,input[type='image']").each(function () {
            $(this).on("contextmenu mousedown", function (e) {// 为了避免某些hook的拦截
                if (e.button != 2) {//不为右键则返回
                    return;
                }
                if (that.getCapFoowwLocalStorage("crabAddRuleLock") != null) {
                    return;
                }
                that.setCapFoowwLocalStorage("crabAddRuleLock", "lock", new Date().getTime() + 100);//100毫秒内只能1次
                let img = that.Aimed($(this));
                console.log('[手动添加规则]验证码图片规则为:' + img);
                if ($(img).length != 1) {
                    that.Hint('验证码选择错误,该图片实际对应多个元素。')
                    return;
                }

                that.Hint('等待识别')
                IdentifyResult = that.ImgPathToResult(img, function ManualRule(img, IdentifyResult) {
                    if (img && IdentifyResult) {
                        console.log('记录信息' + img + IdentifyResult);
                        AddRule['img'] = img;
                        $("img").each(function () {
                            $(this).off("click");
                            $(this).off("on");
                            $(this).off("load");
                        });
                        that.Hint('接下来请点击验证码输入框', 1000 * 50);
                        $("input").each(function () {
                            $(this).click(function () {
                                var input = that.Aimed($(this));
                                // console.log('LetterPickUp_input' + input);
                                AddRule['input'] = input;
                                AddRule['path'] = window.location.href;
                                AddRule['title'] = document.title;
                                AddRule['host'] = window.location.host;
                                AddRule['ocr_type'] = 1;
                                AddRule['idcard'] = that.IdCard();
                                that.WriteImgCodeResult(IdentifyResult, input);
                                that.Hint('完成')
                                //移除事件
                                $("input").each(function () {
                                    $(this).off("click");
                                });
                                //添加信息
                                that.Query({
                                    "method": "captchaHostAdd", "data": AddRule
                                }, function (data) {
                                    writeResultIntervals[writeResultIntervals.length] = {"img": img, "input": input}
                                });
                                that.delCapFoowwLocalStorage(window.location.host);
                            });
                        });
                    }
                });
            });
        });
        that.sendPostMessage("LetterPickUp")
    }

    //手动添加滑动拼图规则
    SlidePickUp() {
        crabCaptcha.Hint('请依次点击滑动拼图验证码的大图、小图、滑块(若无法区分请前往官网查看帮助文档)。', 1000 * 50)
        $("canvas,img,div,button").each(function () {
            $(this).on("contextmenu mousedown click", function (e) {// 为了避免某些hook的拦截
                if (e.type != 'click' && e.button != 2) {//不为右键则返回
                    return;
                }
                crabCaptcha.onSlideTagClick(e);
            });
        });

        crabCaptcha.sendPostMessage("SlidePickUp");
    }

    //递归发送postMessage给iframe中得脚本
    sendPostMessage(funName) {
        const iframes = document.querySelectorAll("iframe");
        iframes.forEach((iframe) => {
            iframe.contentWindow.postMessage({
                sign: "crab",
                action: funName,
            }, "*");
        });
    }

    // 添加滑动拼图规则
    onSlideTagClick(e) {
        var that = this;
        let el = e.target;
        let tagName = el.tagName.toLowerCase();
        let eleWidth = Number(that.getNumber(that.getElementStyle(el).width)) || 0;
        let eleHeight = Number(that.getNumber(that.getElementStyle(el).height)) || 0;
        let eleTop = Number($(el).offset().top) || 0;
        let storagePathCache = that.getCapFoowwLocalStorage("slidePathCache");
        let ruleCache = (storagePathCache && storagePathCache) || {ocr_type: 4};

        if (tagName === "img") {
            if (eleWidth >= eleHeight && eleWidth > 150) {
                ruleCache['big_image'] = that.Aimed(el);
                that.setCapFoowwLocalStorage("slidePathCache", ruleCache, new Date().getTime() + 1000 * 60);
                that.Hint('您已成功选择大图片。', 5000);
                that.checkTargetNeedZIndex(ruleCache, el);
            } else if (eleWidth < 100 && eleWidth > 15 && eleWidth - eleHeight <= 10) {
                ruleCache['small_image'] = that.Aimed(el);
                that.setCapFoowwLocalStorage("slidePathCache", ruleCache, new Date().getTime() + 1000 * 60);
                that.Hint('您已成功选择小图片。', 5000);
                that.checkTargetNeedZIndex(ruleCache, el);
            }
        } else {
            let curEl = el;
            for (let i = 0; i < 3; i++) {
                if (!curEl || curEl === Window) {
                    break;
                }
                let position = that.getElementStyle(curEl).position;
                let bgUrl = that.getElementStyle(curEl)["backgroundImage"];
                eleWidth = Number(that.getNumber(that.getElementStyle(curEl).width)) || 0;
                eleHeight = Number(that.getNumber(that.getElementStyle(curEl).height)) || 0;

                if (position === "absolute" && eleWidth < 100 && eleHeight < 100) {
                    //如果是绝对定位,并且宽高小于100,基本上就是滑块了
                    var smallImgRule = null;
                    if (storagePathCache != null && (smallImgRule = storagePathCache['small_image']) != null) {
                        //检查一下滑块是否比小图低
                        if ($(smallImgRule).offset().top < eleTop) {
                            ruleCache['move_item'] = that.Aimed(curEl);
                            that.setCapFoowwLocalStorage("slidePathCache", ruleCache, new Date().getTime() + 1000 * 60);
                            that.Hint('您已成功选择滑块。', 5000);
                            break;
                        }
                    }
                }
                let reg = /url\("(.+)"\)/im;
                if (bgUrl && bgUrl.match(reg)) {
                    // 根据背景图去做操作
                    if (eleWidth >= eleHeight && eleWidth > 150) {
                        ruleCache['big_image'] = that.Aimed(el);
                        that.Hint('您已成功选择大图片。', 5000);
                        that.setCapFoowwLocalStorage("slidePathCache", ruleCache, new Date().getTime() + 1000 * 60);
                        that.checkTargetNeedZIndex(ruleCache, curEl);
                        break;
                    } else if (eleWidth < 100 && eleWidth > 15 && eleWidth - eleHeight <= 10) {
                        ruleCache['small_image'] = that.Aimed(el);
                        that.Hint('您已成功选择小图片。', 5000);
                        that.setCapFoowwLocalStorage("slidePathCache", ruleCache, new Date().getTime() + 1000 * 60);
                        that.checkTargetNeedZIndex(ruleCache, curEl);
                        break;
                    }
                }
                if (tagName === "canvas") {
                    // 如果是canvas 直接寻找class中特定样式
                    if ((that.checkClassName(curEl, "canvas_bg") || that.checkClassName(curEl.parentNode, "captcha_basic_bg")) || (position != "absolute" && (eleWidth > 300 && eleWidth >= eleHeight * 1.5 && eleWidth <= eleHeight * 3))) {
                        ruleCache['big_image'] = that.Aimed(el);
                        that.Hint('您已成功选择大图片。', 5000);
                        that.setCapFoowwLocalStorage("slidePathCache", ruleCache, new Date().getTime() + 1000 * 60);
                        that.checkTargetNeedZIndex(ruleCache, curEl);
                        break;
                    } else if (that.checkClassName(curEl, "slide") || that.checkClassName(curEl, "slice") || that.checkClassName(curEl, "mark") || that.checkClassName(curEl, "block")) {
                        ruleCache['small_image'] = that.Aimed(el);
                        that.Hint('您已成功选择小图片。', 5000);
                        that.setCapFoowwLocalStorage("slidePathCache", ruleCache, new Date().getTime() + 1000 * 60);
                        that.checkTargetNeedZIndex(ruleCache, curEl);
                        break;
                    }
                }

                curEl = curEl.parentNode;
            }

            curEl = el;
            const firstImg = curEl.querySelector("img");
            firstImg && that.onSlideTagClick({target: firstImg});
        }
        const finish = Object.keys(ruleCache).filter((item) => item).length == 4;
        if (finish) {
            $("canvas,img,div").each(function () {
                $(this).off("click");
            });

            var AddRule = {};
            AddRule['path'] = window.location.href;
            AddRule['title'] = document.title;
            AddRule['host'] = window.location.host;
            AddRule['idcard'] = that.IdCard();

            for (var key in ruleCache) {
                AddRule[key] = ruleCache[key];
            }

            //添加规则
            that.Query({"method": "captchaHostAdd", "data": AddRule});

            that.Hint('规则添加完毕,开始识别中。', 5000);
            ruleCache.ocrType = 4;
            writeResultIntervals[writeResultIntervals.length] = ruleCache;
            that.checkSlideCaptcha(ruleCache);
            that.delCapFoowwLocalStorage("slidePathCache")
        }
    }

    /**
     * 判断是否存在指定className
     * @param curEl
     * @param Name
     * @returns {boolean}
     */
    checkClassName(curEl, Name) {
        var a = curEl.classList;
        for (var i = 0; i < a.length; i++) {
            if (a[i].indexOf(Name) != -1) {
                return true;
            }
        }
        return false;
    }

    /**
     * 判断判断滑块元素是否需要降级
     * @param curEl
     * @param Name
     * @returns {boolean}
     */
    checkTargetNeedZIndex(ruleCache, curEl) {
        if (ruleCache['big_image'] != null && ruleCache['small_image'] != null) {
            $(ruleCache['big_image']).css("z-index", "9998");
            $(ruleCache['small_image']).css("z-index", "9999");
        } else {
            $(curEl).css("z-index", "-1");
        }
        return false;
    }

    // 检查滑动拼图验证码并识别
    checkSlideCaptcha(slideCache) {
        var that = this;
        const {big_image, small_image, move_item} = slideCache;

        document.querySelector(big_image).onload = function () {
            that.checkSlideCaptcha(slideCache);
        }

        //判断验证码是否存在并可见
        if (!big_image || !small_image || !move_item || document.querySelector(small_image) == null
            || document.querySelector(big_image) == null || document.querySelector(move_item) == null
            || !$(small_image).is(":visible") || !$(big_image).is(":visible") || !$(move_item).is(":visible")) {
            console.log("滑动拼图验证码不可见,本次不识别");
            return;
        }


        const check = async () => {
            var Results = that.getCapFoowwLocalStorage("验证码滑动整体超时锁");
            if (Results != null) {
                return;
            }
            console.log("滑动拼图验证码出现,准备开始识别");
            var bigImgElem = document.querySelector(big_image);
            var smallImgElem = document.querySelector(small_image);
            var moveItemElem = document.querySelector(move_item);

            const big_base64 = await that.ImgElemToBase64(bigImgElem);
            const small_base64 = await that.ImgElemToBase64(smallImgElem);
            $(bigImgElem).removeAttr("crab-src-base64");
            $(smallImgElem).removeAttr("crab-src-base64");
            if (small_base64 == null || big_base64 == null) {
                console.log("滑动拼图验证码为null");
                return;
            }

            var big_base64Hash = that.strHash(big_base64);
            if (that.getCapFoowwLocalStorage("滑块识别缓存:" + big_base64Hash) != null) {
                return;
            }
            that.setCapFoowwLocalStorage("滑块识别缓存:" + big_base64Hash, "同一个滑块仅识别一次", new Date().getTime() + (1000 * 60 * 60));//同一个滑块1小时内仅识别一次
            this.Hint("开始滑动, 在下一条提示之前,请勿操作鼠标!", 5000)

            let bigWidth = that.getNumber(that.getElementStyle(bigImgElem)['width']);
            let smallWidth = that.getNumber(that.getElementStyle(smallImgElem)['width']);

            var postData = {
                big_image: big_base64,
                small_image: small_base64,
                big_image_width: bigWidth,
                small_image_width: smallWidth,
                ocr_type: 4
            }

            that.Identify_Crab(null, postData, function Slide(data) {
                console.log("等待滑动距离:" + data.data)
                that.moveSideCaptcha(bigImgElem, smallImgElem, moveItemElem, data);
            });
        }
        check();
    }

    //手动添加滑块行为规则
    slideBehaviorRule() {
        crabCaptcha.Hint('请点击一次滑块。注意:滑块行为类验证码仅有一个滑块!', 1000 * 50)
        $("canvas,img,div,button,span").each(function () {
            $(this).on("contextmenu mousedown click", function (e) {// 为了避免某些hook的拦截
                if (e.type != 'click' && e.button != 2) {//不为右键则返回
                    return;
                }
                crabCaptcha.onSlideBehaviorClick(e);
            });
        });

        crabCaptcha.sendPostMessage("slideBehaviorRule");
    }

    // 添加滑块行为规则
    onSlideBehaviorClick(e) {
        var that = this;
        let el = e.target;
        let eleWidth = Number(that.getNumber(that.getElementStyle(el).width)) || 0;
        let eleHeight = Number(that.getNumber(that.getElementStyle(el).height)) || 0;
        let storagePathCache = that.getCapFoowwLocalStorage("slidePathCache");


        let curEl = el;
        for (let i = 0; i < 3; i++) {
            if (!curEl || curEl === Window) {
                break;
            }
            let position = that.getElementStyle(curEl).position;
            eleWidth = Number(that.getNumber(that.getElementStyle(curEl).width)) || 0;
            eleHeight = Number(that.getNumber(that.getElementStyle(curEl).height)) || 0;

            if (position === "absolute" && eleWidth < 100 && eleHeight < 100) {
                //如果是绝对定位,并且宽高小于100,基本上就是滑块了
                $("canvas,img,div").each(function () {
                    $(this).off("click");
                });
                let AddRule = (storagePathCache && storagePathCache) || {ocr_type: 5};
                AddRule['path'] = window.location.href;
                AddRule['title'] = document.title;
                AddRule['host'] = window.location.host;
                AddRule['move_item'] = that.Aimed(curEl);
                AddRule['idcard'] = that.IdCard();

                //添加规则
                that.Query({"method": "captchaHostAdd", "data": AddRule});

                that.Hint('规则添加完毕,开始识别中。', 5000);
                AddRule.ocrType = 5;
                writeResultIntervals[writeResultIntervals.length] = AddRule;
                that.checkSlideBehaviorCaptcha(AddRule);
                that.delCapFoowwLocalStorage("slidePathCache")
                that.Hint('您已成功选择滑块。', 5000);
                break;
            }
            curEl = curEl.parentNode;
        }
    }

    // 检查滑块行为验证码并识别
    checkSlideBehaviorCaptcha(slideCache) {
        var that = this;
        const {move_item} = slideCache;

        //判断验证码是否存在并可见
        if (!move_item || document.querySelector(move_item) == null || !$(move_item).is(":visible")) {
            // console.log("滑块行为验证码不可见,本次不识别");
            return;
        }

        const check = async () => {
            var Results = that.getCapFoowwLocalStorage("验证码滑动整体超时锁");
            if (Results != null) {
                return;
            }
            console.log("滑块行为验证码出现,准备开始识别");
            var moveItemElem = document.querySelector(move_item);

            let moveItemParentElemStyles = that.getElementStyle(moveItemElem.parentNode);
            let moveItemElemStyles = that.getElementStyle(moveItemElem);
            let left = that.getNumber(moveItemElemStyles.left);
            let small_image_width = that.getNumber(moveItemParentElemStyles.width);
            if (left != 0) {
                return;
            }
            if (that.getCapFoowwLocalStorage("滑块行为识别缓存:" + small_image_width) != null) {
                return;
            }
            that.setCapFoowwLocalStorage("滑块行为识别缓存:" + small_image_width, "同一个滑块仅识别一次", new Date().getTime() + (1000 * 60));
            this.Hint("开始滑动, 在下一条提示之前,请勿操作鼠标!", 5000)

            var postData = {
                small_image: "5oqx5q2J77yM5Li65LqG56iL5bqP55qE5Y+R5bGV5Y+v5o6n77yM5q2k5aSE5b+F6aG75Lyg5Y+C5Yiw5LqR56uv44CC",
                small_image_width: small_image_width,
                salt: new Date().getTime(),
                ocr_type: 5
            }

            that.Identify_Crab(null, postData, function Slide(data) {
                console.log("等待滑动距离:" + data.data)
                that.moveSideCaptcha(moveItemElem, moveItemElem, moveItemElem, data);
                that.delCapFoowwLocalStorage("滑块行为识别缓存:" + small_image_width);
            });
        }
        check();
    }

    /**
     * 滑动事件
     * @param targetImg 小图片
     * @param moveItem 按钮
     * @param distance 滑动距离
     */
    moveSideCaptcha(bigImg, smallImg, moveItem, data) {
        const that = this;
        let distance = that.getNumber(data.data);
        if (distance === 0) {
            console.log("滑动距离不可为0", distance);
            return;
        }
        distance=distance+5;

        const btn = moveItem;
        let target = smallImg;

        // 剩余滑动距离
        let varible = null;
        // 上次剩余滑动距离(可能存在识别错误滑到头了滑不动的情况)
        let oldVarible = null;
        // 获得初始滑块左侧距离
        let targetLeft = that.getNumber(that.getElementStyle(target).left) || 0;
        let targetWidth = that.getNumber(that.getElementStyle(target).width) || 0;
        let targetMargin = that.getNumber(that.getElementStyle(target).marginLeft) || 0;
        let targetParentLeft = that.getNumber(that.getElementStyle(target.parentNode).left) || 0;
        let targetParentMargin = that.getNumber(that.getElementStyle(target.parentNode).marginLeft) || 0;
        let targetTransform = that.getNumber(that.getEleTransform(target)) || 0;
        let targetParentTransform = that.getNumber(that.getEleTransform(target.parentNode)) || 0;

        // 滑块与小图元素距离屏幕左侧的差距(用于后期取不到滑动距离切换参照物的差值)
        let eledifference = moveItem.getBoundingClientRect().x - smallImg.getBoundingClientRect().x;

        // 小图与大图元素距离屏幕左侧的差距(用于后期取不到滑动距离切换参照物的差值)
        let bigToSmaill = smallImg.getBoundingClientRect().x - bigImg.getBoundingClientRect().x;

        var rect = btn.getBoundingClientRect();
        //鼠标指针在屏幕上的坐标;
        var screenX = rect.x;
        var screenY = rect.y;
        //鼠标指针在浏览器窗口内的坐标;
        var clientX = screenX + rect.width / 2 - 2;
        var clientY = screenY + rect.height / 2 - 2;

        // 初始化 MouseEvent 对象
        const mousedown = new MouseEvent("mousedown", {
            bubbles: true,
            cancelable: true,
            view: document.defaultView,
            detail: 0,
            screenX: screenX,
            screenY: screenY,
            clientX: clientX,
            clientY: clientY,
        });
        btn.dispatchEvent(mousedown);

        let dx = 0;
        let dy = 0;
        // 总滑动次数
        let sideCount = 0;
        // 滑不动了的次数
        let sideMaxCount = 0;
        // 滑动取值规则
        let crabRuleId = 0;
        // 滑动速度
        let runTime = 0;
        // 突进滑动距离
        let firstLength = 20;
        // 是否完成
        let isFinish = false;

        //持续滑动
        function continueSide() {
            setTimeout(function () {
                var intervalLock = that.getCapFoowwLocalStorage("验证码滑动整体超时锁");
                if (intervalLock == null) {
                    that.setCapFoowwLocalStorage("验证码滑动整体超时锁", {time: new Date().getTime()}, new Date().getTime() + (1000 * 10));
                } else {
                    // 采用自解开锁模式
                    if (intervalLock.time + 1000 * 3 < new Date().getTime()) {
                        that.Hint("本次滑动超时请刷新验证码后重试,若该页面多次出现此问题请联系群内志愿者处理。", 2000);
                        that.finishSide(btn, distance, 0, distance, 0);
                        return;
                    }
                }

                if (sideCount > 20 && varible == null && btn != null) {
                    //如果10次循环了已滑动的距离还是null,则使用按钮的距离
                    console.log("使用按钮得距离计算剩余")
                    let targetWidth = that.getNumber(that.getElementStyle(target).width);
                    let btnWidth = that.getNumber(that.getElementStyle(btn).width);
                    //正常来说,小图片应该比滑块的宽度小,此处做*2加权判断
                    if (targetWidth < btnWidth * 2) {
                        // 滑块一般贴近左边,而小图可能稍稍向右,所以总滑动距离-滑块得差
                        distance = distance + eledifference;
                    } else {
                        distance = distance - 2.5;
                    }
                    target = btn;
                }
                let newTargetLeft = that.getNumber(that.getElementStyle(target).left) || 0;
                let newTargetMargin = that.getNumber(that.getElementStyle(target).marginLeft) || 0;
                let newTargetParentLeft = that.getNumber(that.getElementStyle(target.parentNode).left) || 0;
                let newTargetParentMargin = that.getNumber(that.getElementStyle(target.parentNode).marginLeft) || 0;
                let newTargetTransform = that.getNumber(that.getEleTransform(target)) || 0;
                let newTargetParentTransform = that.getNumber(that.getEleTransform(target.parentNode)) || 0;
                let newTargetWidth = that.getNumber(that.getElementStyle(target).width) || 0;

                if (newTargetLeft !== targetLeft || crabRuleId == 1) {
                    varible = newTargetLeft;
                    targetLeft = newTargetLeft;
                    crabRuleId = 1;
                } else if (newTargetParentLeft !== targetParentLeft || crabRuleId == 2) {
                    varible = newTargetParentLeft;
                    targetParentLeft = newTargetParentLeft;
                    crabRuleId = 2;
                } else if (newTargetTransform !== targetTransform || targetTransform != 0 || crabRuleId == 3) {
                    varible = newTargetTransform;
                    targetTransform = newTargetTransform;
                    crabRuleId = 3;
                } else if (newTargetParentTransform != targetParentTransform || crabRuleId == 4) {
                    varible = newTargetParentTransform;
                    targetParentTransform = newTargetParentTransform;
                    crabRuleId = 4;
                } else if (newTargetMargin != targetMargin || crabRuleId == 5) {
                    varible = newTargetMargin;
                    targetMargin = newTargetMargin;
                    crabRuleId = 5;
                } else if (newTargetParentMargin != targetParentMargin || crabRuleId == 6) {
                    if (bigToSmaill != 0) {
                        newTargetParentMargin = newTargetParentMargin + bigToSmaill;
                    }
                    varible = newTargetParentMargin;
                    targetParentMargin = newTargetParentMargin;
                    crabRuleId = 6;
                }

                if (varible != null && varible != 0) {
                    if (varible == oldVarible) {
                        //发现滑不动了
                        sideMaxCount += 1;
                    } else {
                        sideMaxCount = 0;
                    }
                }
                oldVarible = varible;
                //本次需要滑出去得距离
                let tempDistance = firstLength + Math.random();
                // 剩余距离(总距离-已滑动距离)
                const residue = distance - varible;
                const avg = distance / 10;

                // 判断距离,计算速度
                if (residue > distance / 2) {//距离有一半时,距离较较远,可以高速
                    runTime = 0.2 + Math.random() * (0.5 - 0.2);
                    firstLength = 5;
                } else if (residue > distance / 4) {//距离有四分之一时,距离较近了,开始减速
                    runTime = Math.floor(Math.random() * (12 - 8 + 1)) + 8;
                    firstLength = 3;
                } else if (residue > avg) {//四分之一到十分之一
                    runTime = Math.floor(Math.random() * (12 - 8 + 1)) + 8;
                    firstLength = 2;
                } else if (residue < avg) {//最后十分之一
                    runTime = Math.floor(Math.random() * 5) + 18;
                    firstLength = 0;
                }

                // 作者在叨叨:如果这段代码能够帮到你,如果你愿意,可以请我喝杯咖啡么?

                // 总滑动距离较近,慢点滑动避免超速
                if (avg <= 10) {
                    runTime = runTime * 5;
                } else if (avg <= 13) {
                    runTime = runTime * 2;
                }

                //超过了就让他倒着走
                if (residue <= 0) {
                    tempDistance = tempDistance * -1;
                    console.log("超过了,倒着走:"+tempDistance);
                }

                console.log("滑动速度:" + runTime + ",剩余距离:" + residue + ",突进距离:" + firstLength);

                dx += tempDistance;
                // 随机定义y得偏差
                let sign = Math.random() > 0.5 ? -1 : 1;
                dy += -1;


                //鼠标指针在屏幕上的坐标
                let _screenX = screenX + dx;
                let _screenY = screenY + dy;
                //鼠标指针在浏览器窗口内的坐标
                let _clientX = clientX + dx;
                let _clientY = clientY + dy;

                // 容错值
                const fault = 1;
                //判断剩余距离是否大于要滑动得距离(1像素误差),或者滑不动了
                if (varible != null && (sideMaxCount > 5 || (varible == distance || (varible > distance && varible - fault <= distance) || (varible < distance && varible + fault >= distance)))) {
                    if (isFinish) {
                        console.log("滑动完毕,等待清除事件");
                        that.finishSide(btn, _screenX, _screenY, _clientX, _clientY);
                        that.Hint(data.description, data.showTime)
                        return;
                    }
                    console.log("故意跳过,使其缓慢回溯");
                    isFinish = true;
                    distance-=5;
                }


                const mousemove = new MouseEvent('mousemove', {
                    bubbles: true,
                    cancelable: true,
                    view: document.defaultView,
                    screenX: _screenX,
                    screenY: _screenY,
                    clientX: _clientX,
                    clientY: _clientY
                });
                btn.dispatchEvent(mousemove);
                sideCount += 1;

                //再次执行
                continueSide();
            }, runTime);
        }

        continueSide();
    }

    // 完成滑动
    finishSide(btn, _screenX, _screenY, _clientX, _clientY) {
        var that = this;
        var eventList = ["mouseup"]
        for (var i = 0; i < eventList.length; i++) {
            var mouseup = new MouseEvent(eventList[i], {
                bubbles: true,
                cancelable: true,
                view: document.defaultView,
                clientX: _clientX,
                clientY: _clientY,
                screenX: _screenX,
                screenY: _screenY
            });
            setTimeout(() => {
                btn.dispatchEvent(mouseup);
                console.log("滑动完毕,释放鼠标");
            }, Math.ceil(Math.random() * 500));
        }

        //1秒后解除全局锁,避免网速慢导致验证码刷新不出来
        setTimeout(() => {
            that.delCapFoowwLocalStorage("验证码滑动整体超时锁");
        }, 1000);

    }

    getEleTransform(el) {
        const style = window.getComputedStyle(el, null);
        var transform = style.getPropertyValue("-webkit-transform") || style.getPropertyValue("-moz-transform") || style.getPropertyValue("-ms-transform") || style.getPropertyValue("-o-transform") || style.getPropertyValue("transform") || "null";
        return transform && transform.split(",")[4];
    }

    // 字符串转数字
    getNumber(str) {
        try {
            return Number(str.split(".")[0].replace(/[^0-9]/gi, ""));
        } catch (e) {
            return 0;
        }
    }


    //创建提示元素
    AddTip() {
        var TipHtml = $("<div id='like996_identification'></div>").text("Text.");
        TipHtml.css({
            "background-color": "rgba(211,211,211,0.86)",
            "align-items": "center",
            "justify-content": "center",
            "position": "fixed",
            "color": "black",
            "top": "-5em",
            "height": "2em",
            "margin": "0em",
            "padding": "0em",
            "font-size": "20px",
            "width": "100%",
            "left": "0",
            "right": "0",
            "text-align": "center",
            "z-index": "9999999999999",
            "padding-top": "3px",
            display: 'none'

        });
        $("body").append(TipHtml);
        return TipHtml;
    }

    //展示提醒
    Hint(Content, Duration) {
        if (Set["showHintCheck"] != "true") {
            return;
        }
        if (self != top) {
            // 如果当前在iframe中,则让父页面去提示
            window.parent.postMessage({
                sign: "crab",
                action: "Hint",
                postData: {Content: Content, Duration: Duration}
            }, "*");
            return;
        }
        // 处理一下对象传值(很奇怪,这玩意传到最后回出来两层,谁研究透了麻烦告诉我一下)
        while (Content?.constructor === Object) {
            Content = Content.Content;
            Duration = Content.Duration;
        }

        var that = crabCaptcha;

        that.Tip.stop(true, false).animate({
            top: '-5em'
        }, 300, function () {
            if (Set["warningTone"] == "true") {
                Content += that.doWarningTone(Content)
            }
            Content += "<span style='color:red;float: right;margin-right: 20px;' onclick='document.getElementById(\"like996_identification\").remove()'>X</span>";
            that.Tip.show();
            that.Tip.html(Content);

        });
        that.Tip.animate({
            top: '0em'
        }, 500).animate({
            top: '0em'
        }, Duration ? Duration : 3000).animate({
            top: '-5em'
        }, 500, function () {
            that.Tip.hide();
        });
        return;
    }

    //查询规则
    Query(Json, callback) {
        var that = this;
        var QueryRule = '';
        var LocalStorageData = this.getCapFoowwLocalStorage(Json.method + "_" + Json.data.host);
        if (Json.method == 'captchaHostAdd') {
            that.delCapFoowwLocalStorage("captchaHostQuery_" + Json.data.host);
            LocalStorageData = null;
            //清除自动查找验证码功能
            clearInterval(this.getCapFoowwLocalStorage("autoRulesIntervalID"));
        }
        if (LocalStorageData != null) {
            console.log("存在本地缓存的验证码识别规则直接使用。")
            if (callback != null) {
                callback(LocalStorageData);
                return;
            } else {
                return LocalStorageData;
            }
        }

        GM_xmlhttpRequest({
            url: that.getCaptchaServerUrl() + Json.method,
            method: 'POST',
            headers: {'Content-Type': 'application/json; charset=utf-8', 'path': window.location.href},
            data: JSON.stringify(Json.data),
            responseType: "json",
            onload: obj => {
                var data = obj.response;
                if (data.description != undefined) {
                    that.Hint(data.description)
                }
                QueryRule = data;
                that.setCapFoowwLocalStorage(Json.method + "_" + Json.data.host, data, new Date().getTime() + 1000 * 60)
                if (callback != null) {
                    callback(QueryRule);
                }

            },
            onerror: err => {
                console.log(err)
            }
        });


        return QueryRule;
    }

    //开始识别
    Start() {
        //检查配置中是否有此网站
        var that = this;
        var Pathname = window.location.href;
        var Card = that.IdCard();
        if (Set["hotKeyToImgResult"] != "true") {
            writeResultInterval = setInterval(function () {
                that.WriteResultsInterval();
            }, 500);
        } else {
            crabCaptcha.crabFacebook()
        }
        that.Query({
            "method": "captchaHostQuery", "data": {
                "host": window.location.host, "path": Pathname, "idcard": Card
            }
        }, function (Rule) {
            if (Rule.code == 531 || Rule.code == 532) {
                console.log('有规则执行规则' + Pathname);
                var data = Rule.data;
                for (var i = 0; i < data.length; i++) {
                    writeResultIntervals[i] = data[i];
                }
                console.log('等待验证码图片出现');
            } else if (Rule.code == 530) {
                console.log('黑名单' + Pathname);
                if (that.getCapFoowwLocalStorage("网站黑名单提示锁") == null) {
                    that.setCapFoowwLocalStorage("网站黑名单提示锁", "lock", new Date().getTime() + 9999999 * 9999999);//网页黑名单单位时间内仅提示一次
                    that.Hint('该网站在黑名单中,无法识别。', 5000);
                }
                return
            } else if (Rule.code == 533 && Set["autoIdentification"] == "true") {
                //如果当前网页无规则,则启动自动查找验证码功能(无法一直执行否则将大量错误识别!)
                console.log('新网站开始自动化验证码查找' + Pathname);
                let autoRulesCheckElems = [];
                const autoRulesIntervalID = setInterval(function () {
                    var MatchList = that.AutoRules(autoRulesCheckElems);
                    if (MatchList != null && MatchList.length > 0) {
                        //改为定时器绑定,解决快捷键失效问题
                        writeResultIntervals.splice(0);
                        console.log('检测到新规则,开始绑定元素');
                        for (i in MatchList) {
                            writeResultIntervals[i] = MatchList[i];
                        }
                    }
                }, 1000);
                that.setCapFoowwLocalStorage("autoRulesIntervalID", autoRulesIntervalID, new Date().getTime() + (99999 * 99999));
            }
        });


        const actions = {
            SlidePickUp: that.SlidePickUp,
            LetterPickUp: that.LetterPickUp,
            slideBehaviorRule: that.slideBehaviorRule,
            Hint: that.Hint,
        };

        window.addEventListener(
            "message",
            (event) => {
                const {data = {}} = event || {};
                const {sign, action, postData} = data;
                if (sign === "crab") {
                    if (action && actions[action]) {
                        actions[action](postData);
                    }
                }
            },
            false
        );

    }

    // 定时执行绑定验证码img操作
    WriteResultsInterval() {
        for (var i = 0; i < writeResultIntervals.length; i++) {
            var ocrType = writeResultIntervals[i].ocrType;
            if (!ocrType || ocrType == 1) {
                // 英数验证码
                var imgAddr = writeResultIntervals[i].img;
                var inputAddr = writeResultIntervals[i].input;
                if (document.querySelector(imgAddr) == null || document.querySelector(inputAddr) == null) {
                    continue;
                }
                try {
                    if (this.getCapFoowwLocalStorage("err_" + writeResultIntervals[i].img) == null) {// 写入识别规则之前,先判断她是否有错误
                        this.RuleBindingElement(imgAddr, inputAddr);
                    }
                } catch (e) {
                    window.clearInterval(writeResultInterval);
                    this.addBadWeb(imgAddr, inputAddr);
                    return;
                }
            } else if (ocrType == 4) {
                //滑动拼图验证码
                var big_image = writeResultIntervals[i].big_image;
                if (document.querySelector(big_image) == null) {
                    continue;
                }
                this.checkSlideCaptcha(writeResultIntervals[i]);
            } else if (ocrType == 5) {
                //滑块行为验证码
                var move_item = writeResultIntervals[i].move_item;
                if (document.querySelector(move_item) == null) {
                    continue;
                }
                this.checkSlideBehaviorCaptcha(writeResultIntervals[i]);
            }
        }
    }

    //调用识别接口
    Identify_Crab(img, postData, callback) {
        var that = this;
        var postDataHash = that.strHash(JSON.stringify(postData));
        var Results = that.getCapFoowwLocalStorage("识别结果缓存:" + postDataHash);
        if (Results != null) {
            if (callback.name != 'ManualRule') {// 不为手动直接返回结果
                return Results.data;
            }
        }
        postData["idCard"] = that.IdCard();
        postData["version"] = "6.5";
        that.setCapFoowwLocalStorage("识别结果缓存:" + postDataHash, "识别中..", new Date().getTime() + (9999999 * 9999999));//同一个验证码只识别一次
        var url = that.getCaptchaServerUrl() + "/hello";
        console.log("验证码变动,开始识别");
        GM_xmlhttpRequest({
            url: url,
            method: 'POST',
            headers: {'Content-Type': 'application/json; charset=UTF-8', 'path': window.location.href},
            data: JSON.stringify(postData),
            responseType: "json",
            onload: obj => {
                var data = obj.response;
                if (!data.valid) {
                    if (data.description != undefined) {
                        that.Hint('识别请求发生错误: ' + data.description, 5000);
                    }
                    that.setCapFoowwLocalStorage("识别结果缓存:" + postDataHash, data.description, new Date().getTime() + (9999999 * 9999999))

                } else {

                    that.setCapFoowwLocalStorage("识别结果缓存:" + postDataHash, data, new Date().getTime() + (9999999 * 9999999))
                    if (callback != null) {
                        if (callback.name == 'Slide') {
                            //滑动识别
                            callback(data);
                        } else {
                            var Results = data.data;
                            if (Results.length < 4) {
                                that.Hint('验证码识别结果可能错误,请刷新验证码尝试', 5000)
                            } else if (data.description != '' && data.description != null) {
                                that.Hint(data.description, data.showTime)
                            } else {
                                that.Hint('验证码识别完成', 500)
                            }
                            if (callback.name == 'WriteRule') {
                                // 自动识别
                                callback(data.data);
                            } else if (callback.name == 'ManualRule') {
                                // 手动添加规则
                                callback(img, data.data);
                            }
                        }
                    }
                }
            },
            onerror: err => {
                console.log(err)
            }
        });

        return Results;
    }

    //根据规则提取验证码base64并识别
    async ImgPathToResult(imgElement, callback) {
        var that = this;
        var imgObj = $(imgElement);
        if (!imgObj.is(":visible")) {
            console.log("验证码不可见,本次不识别");
            return;
        }
        try {
            var imgBase64 = await that.ImgElemToBase64(imgObj[0], imgElement);

            if (imgBase64.length < 255) {
                throw new Error("图片大小异常");
            }
        } catch (e) {
            if (callback.name == 'ManualRule') {
                that.Hint('跨域策略,请重新右键点击图片');
            }
            return;
        }

        var postData = {img: imgBase64, ocr_type: 1};
        that.Identify_Crab(imgElement, postData, callback);
    }

    // 图片对象转Base64
    ImgElemToBase64(imgObj) {
        return new Promise((resolve, reject) => {
            var that = this;
            var imgBase64, imgSrc;
            try {
                var elementTagName = imgObj.tagName.toLowerCase();
                if (elementTagName === "img" || elementTagName === "input") {
                    imgSrc = $(imgObj).attr("src");
                } else if (elementTagName === "div") {
                    imgSrc = that.getElementStyle(imgObj)["backgroundImage"]
                    if (imgSrc.trim().indexOf("data:image/") != -1) {
                        // 是base64格式的
                        imgSrc = imgSrc.match("(data:image/.*?;base64,.*?)[\"']")[1]
                    } else {
                        // 是url格式的
                        imgSrc = imgSrc.split('"')[1];
                    }
                }

                if (imgSrc != undefined && imgSrc.indexOf("data:") == 0) {
                    // 使用base64页面直显
                    imgBase64 = imgSrc;
                    // 兼容部分浏览器中replaceAll不存在
                    while (imgBase64.indexOf("\n") != -1) {
                        imgBase64 = imgBase64.replace("\n", "");
                    }
                    // 解决存在url编码的换行问题
                    while (imgBase64.indexOf("%0D%0A") != -1) {
                        imgBase64 = imgBase64.replace("%0D%0A", "");
                    }
                } else if (imgSrc != undefined && (((imgSrc.indexOf("http") == 0 || imgSrc.indexOf("//") == 0) && imgSrc.indexOf(window.location.protocol + "//" + window.location.host + "/") == -1) || $(imgObj).attr("crab_err") != undefined)) {
                    if (imgSrc.indexOf("//") == 0) {
                        imgSrc = window.location.protocol + imgSrc;
                    }
                    // 跨域模式下单独获取src进行转base64
                    var Results = that.getCapFoowwLocalStorage("验证码跨域识别锁:" + imgSrc);
                    if (Results != null) {
                        reject("验证码跨域识别锁住");
                        return;
                    }
                    that.setCapFoowwLocalStorage("验证码跨域识别锁:" + imgSrc, "避免逻辑错误多次识别", new Date().getTime() + (9999999 * 9999999));//同一个url仅识别一次

                    GM_xmlhttpRequest({
                        url: imgSrc, method: 'GET', responseType: "blob", onload: obj => {
                            if (obj.status == 200) {
                                let blob = obj.response;
                                let fileReader = new FileReader();
                                fileReader.onloadend = (e) => {
                                    let base64 = e.target.result;
                                    if (elementTagName == "div") {
                                        that.setDivImg(base64, imgObj);
                                    } else {
                                        $(imgObj).attr("src", base64);
                                    }

                                };
                                fileReader.readAsDataURL(blob)
                            }
                        }, onerror: err => {
                            that.Hint('请求跨域图片异常,请联系群内志愿者操作。');
                            reject("请求跨域图片异常");
                        }
                    });
                } else {
                    // 使用canvas进行图片转换
                    imgBase64 = that.ConversionBase(imgObj);
                }

                var transform = that.getElementStyle(imgObj)['transform'];
                if (transform != 'none' && transform != 'matrix(1, 0, 0, 1, 0, 0)') {
                    //图片可能存在旋转
                    let rotationBase64 = that.rotationImg(imgObj);
                    if (rotationBase64 != null) {
                        imgBase64 = rotationBase64;
                    }
                }

                resolve(imgBase64.replace(/.*,/, "").trim());
            } catch (e) {
                $(imgObj).attr("crab_err", 1);
                reject("图片转换异常");
            }

        });
    }

    //重新设置div的背景图验证码
    setDivImg(imgBase64, imgObj) {
        var that = this;
        // 创建一个临时的 Image 对象,并设置它的 src 属性为背景图片 URL
        var img = new Image();
        // 创建一个 Canvas 元素
        var canvas = document.createElement('canvas');
        canvas.width = that.getNumber(that.getElementStyle(imgObj)["width"]);
        canvas.height = that.getNumber(that.getElementStyle(imgObj)["height"]);

        // 在 Canvas 上绘制背景图片
        var ctx = canvas.getContext('2d');

        var position = imgObj.style.backgroundPosition;
        var parts = position.split(' ');
        var bgPartsX = 0;
        var bgPartsY = 0;
        if (parts.length == 2) {
            bgPartsX = parseFloat(parts[0].replace(/[^-\d\.]/g, ''));
            bgPartsY = parseFloat(parts[1].replace(/[^-\d\.]/g, ''));
        }


        // 当图片加载完成后执行
        img.onload = function () {
            var position = imgObj.style.backgroundSize;
            var bgSize = position.split(' ');
            var bgSizeW = canvas.width;
            var bgSizeH = canvas.width / img.width * img.height;//有时候页面上的不准,按比例缩放即可
            if (canvas.height == 0) {
                canvas.height = bgSizeH;
            }
            if (bgSize.length == 2) {
                bgSizeW = parseFloat(bgSize[0].replace(/[^-\d\.]/g, ''));
                bgSizeH = parseFloat(bgSize[1].replace(/[^-\d\.]/g, ''));
            }
            if (parts.length == 2 || bgSize.length == 2) {
                ctx.drawImage(img, bgPartsX, bgPartsY, bgSizeW, bgSizeH);
                $(imgObj).css('background-position', '');
                $(imgObj).css('background-size', '');
            } else {
                ctx.drawImage(img, 0, 0);
            }
            // 将截取的图像作为新的背景图片设置到 div 元素中
            $(imgObj).css('background-image', 'url(' + canvas.toDataURL() + ')');
        };
        img.src = imgBase64;
    }

    //绑定规则到元素,并尝试识别
    RuleBindingElement(img, input) {
        var that = this;
        //创建一个触发操作
        let imgObj = img;
        if (typeof (imgObj) == "string") {
            imgObj = document.querySelector(img)
        }
        if (imgObj == null) {
            return;
        }

        imgObj.onload = function () {
            that.RuleBindingElement(imgObj, input)
        }

        this.ImgPathToResult(img, function WriteRule(vcode) {
            that.WriteImgCodeResult(vcode, input)
        })

    }

    //写入操作
    WriteImgCodeResult(ImgCodeResult, WriteInput) {
        var that = this;
        WriteInput = document.querySelector(WriteInput);
        WriteInput.value = ImgCodeResult;
        if (typeof (InputEvent) !== 'undefined') {
            //使用 InputEvent 方法,主流浏览器兼容
            WriteInput.value = ImgCodeResult;
            let eventReactNames = ["input", "change", "focus", "invalid", "keypress", "keydown", "keyup", "input", "blur", "select", "focus"];
            for (var j = 0; j < eventReactNames.length; j++) {
                if (that.FireForReact(WriteInput, eventReactNames[j])) {
                    WriteInput.value = ImgCodeResult;
                    //return;
                }
            }
            let eventNames = ["keypress", "keydown", "keyup", "input", "blur", "select", "focus"];
            for (var i = 0; i < eventNames.length; i++) {
                that.Fire(WriteInput, eventNames[i]);
                WriteInput.value = ImgCodeResult;
            }
        } else if (KeyboardEvent) {
            //使用 KeyboardEvent 方法,ES6以下的浏览器方法
            WriteInput.dispatchEvent(new KeyboardEvent("input"));
        }
    }

    // 各类原生事件
    Fire(element, eventName) {
        var event = document.createEvent("HTMLEvents");
        event.initEvent(eventName, true, true);
        element.dispatchEvent(event);
    }

    // 各类react事件
    FireForReact(element, eventName) {
        try {
            let env = new Event(eventName);
            element.dispatchEvent(env);
            var funName = Object.keys(element).find(p => Object.keys(element[p]).find(f => f.toLowerCase().endsWith(eventName)));
            if (funName != undefined) {
                element[funName].onChange(env)
                return true;
            }
        } catch (e) {
            // console.log("各类react事件调用出错!")
        }
        return false;

    }

    //转换图片为:canvas
    ConversionBase(img) {
        var canvas = document.createElement("canvas");
        canvas.width = img.width;
        canvas.height = img.height;
        var ctx = canvas.getContext("2d");
        ctx.drawImage(img, 0, 0, img.width, img.height);
        var imgObj = $(img);
        try {
            //尝试直接转换,如果失败,可能存在跨域
            return canvas.toDataURL("image/png");
        } catch (e) {
            // 对跨域的场景进行处理
            let imgSrc = imgObj.attr("crab-src");
            let imgBase64 = imgObj.attr("crab-src-base64");

            if (imgBase64 != undefined) {
                return imgBase64;
            }
            if (imgSrc == undefined) {
                throw new Error("canvas图片跨域,无法加载!");
            }
            // 跨域模式下单独获取src进行转base64
            var Results = this.getCapFoowwLocalStorage("验证码跨域识别锁:" + imgSrc);
            if (Results != null) {
                return null;
            }
            this.setCapFoowwLocalStorage("验证码跨域识别锁:" + imgSrc, "避免逻辑错误多次识别", new Date().getTime() + (9999999 * 9999999));//同一个url仅识别一次


            this.Hint('正在处理跨域验证码请勿操作鼠标!');
            GM_xmlhttpRequest({
                url: imgSrc,
                method: 'GET',
                responseType: "blob",
                onload: (response) => {
                    if (response.status === 200) {
                        const blob = response.response;
                        const fileReader = new FileReader();
                        fileReader.onloadend = (e) => {
                            const base64 = e.target.result;
                            $(img).attr("crab-src-base64", base64);
                        }
                        fileReader.readAsDataURL(blob);
                    }
                }
            });
        }
    }


    // 部分滑动图片可能存在旋转,需要修正
    rotationImg(img) {
        let style = window.getComputedStyle(img);    // 获取元素的样式
        let matrix = new DOMMatrixReadOnly(style.transform); // 将样式中的 transform 属性值转换成 DOMMatrix 对象
        var angle = Math.round(Math.atan2(matrix.b, matrix.a) * (180 / Math.PI)); // 通过 DOMMatrix 对象计算旋转角度
        if (angle != 0) {
            let canvas = document.createElement("canvas");
            let ctx = canvas.getContext('2d');
            let width = img.naturalWidth;
            let height = img.naturalHeight;
            canvas.width = width;
            canvas.height = canvas.width * width / height;
            ctx.translate(canvas.width * 0.5, canvas.height * 0.5);
            ctx.rotate(angle * Math.PI / 180);
            ctx.drawImage(img, -canvas.height / 2, -canvas.width / 2, canvas.height, canvas.width);
            return canvas.toDataURL("image/png");
        }
        return null;

    }

    hashCode(strKey) {
        var hash = 0;
        if (strKey != null && strKey != "") {
            for (var i = 0; i < strKey.length; i++) {
                hash = hash * 31 + strKey.charCodeAt(i);
                hash = this.intValue(hash);
            }
        }
        return hash;
    }

    intValue(num) {
        var MAX_VALUE = 0x7fffffff;
        var MIN_VALUE = -0x80000000;
        if (num > MAX_VALUE || num < MIN_VALUE) {
            return num &= 0xFFFFFFFF;
        }
        return num;
    }

    //自动规则
    AutoRules(autoRulesCheckElems) {
        var that = this;
        if (autoRulesCheckElems.length > 1500) {
            //如果一个页面的元素超过1500个,则停止自动规则,避免卡顿
            return;
        }
        // 最终规则
        var MatchList = [];
        //验证码元素
        let captchaMap = [];
        $("canvas,img,input[type='image'],div").each(function () {
            let img = this;
            if (!$(img).is(":visible")) {
                return true;
            }
            let elemCode = that.hashCode($(img).html());
            if (autoRulesCheckElems.indexOf(elemCode) == -1) {
                autoRulesCheckElems.push(elemCode);
            }

            let checkList = [...that.getCaptchaFeature(img), ...that.getCaptchaFeature(img.parentNode),];
            checkList = checkList.filter((item) => item);
            let isInvalid = ["#", "about:blank"].includes(img.getAttribute("src")) || !img.getAttribute("src") || img.getAttribute("src").indexOf("data:") == 0;
            let imgRules = "code,captcha,yzm,check,random,veri,vcodeimg,验证码,看不清,换一张,login,点击,verify,yanzhengma".split(",");
            let isHave = false;
            for (let i = 0; i < checkList.length && !isHave; i++) {
                // 先判null
                if (checkList[i] == null || checkList[i] == undefined || typeof(checkList[i])!="string") {
                    continue;
                }


                let elemAttributeData = checkList[i].toLowerCase();

                //如果元素内包含logo字符串,则直接跳过
                if (elemAttributeData.toString().toLowerCase().indexOf("logo") != -1) {
                    return true;
                }


                let imgStyles = that.getElementStyle(img);
                let imgWidth = that.getNumber(imgStyles["width"]);
                let imgHeight = that.getNumber(imgStyles["height"]);
                let imgTagName = img.tagName.toLowerCase();

                // 验证码得相关属性需要满足特定字符串,并且宽高及图片属性不能太过分
                for (let j = 0; j < imgRules.length; j++) {
                    if (elemAttributeData.indexOf(imgRules[j]) != -1
                        && ((imgTagName == "img" && !isInvalid) || imgTagName != "img") && imgWidth > 30 && imgWidth < 150
                        && ((imgTagName == "div" && imgStyles['backgroundImage'] != 'none') || imgTagName != "div")
                        && imgHeight < 80 && imgHeight != imgWidth) {
                        captchaMap.push({"img": img, "input": null})
                        isHave = true;
                        break;
                    }
                }

            }

        });
        captchaMap.forEach((item) => {
            let imgEle = item.img;
            let parentNode = imgEle.parentNode;
            for (let i = 0; i < 4; i++) {
                // 以当前可能是验证码的图片为基点,向上遍历四层查找可能的Input输入框
                if (!parentNode) {
                    return;
                }
                let inputTags = [...parentNode.querySelectorAll("input")];
                if (inputTags.length) {
                    let input = inputTags.pop();
                    let type = input.getAttribute("type");
                    while (type !== "text" && inputTags.length) {
                        if (type === "password") {
                            break;
                        }
                        input = inputTags.pop();
                        type = input.getAttribute("type");
                    }

                    let inputWidth = that.getNumber(that.getElementStyle(input).width);
                    if (!type || (type === "text" && inputWidth > 50)) {
                        // 给目标元素添加边框,证明自动规则选中得
                        $(imgEle).css("borderStyle", "solid").css("borderColor", "red").css("border-width", "2px").css("box-sizing", "border-box");
                        $(input).css("borderStyle", "solid").css("borderColor", "red").css("border-width", "1px").css("box-sizing", "border-box");
                        MatchList.push({"img": that.Aimed(imgEle), "input": that.Aimed(input)})
                        break;
                    }
                    if (type === "password") {
                        // 验证码一般在密码框后面,遍历到密码框了就大概率说明没有验证码
                        break;
                    }
                }
                parentNode = parentNode.parentNode;
            }
        });

        return MatchList;
    }

    // 获取验证码特征
    getCaptchaFeature(el) {
        let checkList = [];
        checkList.push(el.getAttribute("id"));
        checkList.push(el.className);
        checkList.push(el.getAttribute("alt"));
        checkList.push(el.getAttribute("src"));
        checkList.push(el.getAttribute("name"));
        checkList.push(el.getAttribute("title"));

        return checkList;
    }

    //根据元素生成JsPath
    Aimed(Element) {
        // console.log('---根据元素创建配置信息---');
        if (Element.length > 0) {
            Element = Element[0]
        }
        var that = this;
        var ElementLocalName = Element.localName;
        var result;
        // 如果有vue的id,则直接返回
        var vueId = that.getDataV(Element);
        if (vueId != null) {
            result = ElementLocalName + "[" + vueId + "]";
            if ($(result).length == 1) {
                return result;
            }
        }
        // 如果有placeholder,则直接返回
        var placeholder = that.getPlaceholder(Element);
        if (placeholder != null) {
            result = ElementLocalName + "[" + placeholder + "]";
            if ($(result).length == 1) {
                return result;
            }
        }
        // 如果有alt,则直接返回
        var alt = that.getAlt(Element);
        if (alt != null) {
            result = ElementLocalName + "[" + alt + "]";
            if ($(result).length == 1) {
                return result;
            }
        }

        // 如果有name且只有一个,则直接返回
        var selectElement = that.getElementName(Element);
        if (selectElement != null) {
            return selectElement;
        }

        // 如果有src,且src后面无参数则直接返回
        var src = that.getSrc(Element);
        if (src != null && src.length < 200) {
            result = ElementLocalName + "[" + src + "]";
            if ($(result).length == 1) {
                return result;
            }
        }
        // 如果有onClick则直接返回
        var onClick = that.getOnClick(Element);
        if (onClick != null && onClick.length < 200) {
            result = ElementLocalName + "[" + onClick + "]";
            if ($(result).length == 1) {
                return result;
            }
        }
        // 如果有elemClassName则直接返回
        var elemClassName = that.getElementClassName(Element);
        if (elemClassName != null && elemClassName.length < 200) {
            return elemClassName;
        }

        var cssPath = that.getElementCssPath(Element);
        if (cssPath != null && cssPath != "") {
            try {
                //避免样式选择器有时候选到错的无法使用问题
                if ($(cssPath).length == 1) {
                    return cssPath;
                }
            } catch (e) {
            }
        }

        var Symbol = (this.getElementId(Element) ? "#" : Element.className ? "." : false);
        var locationAddr;
        if (!Symbol) {
            locationAddr = that.Climb(Element.parentNode, ElementLocalName);
        } else {
            locationAddr = that.Climb(Element, ElementLocalName);
        }
        if ($(locationAddr).length == 1) {
            return locationAddr.trim();
        }

        // if (confirm("当前元素无法自动选中,是否手动指定JsPath?\n(该功能为熟悉JavaScript的用户使用,若您不知道,请点击取消。)\n注意:如果该提示影响到您得操作了,关闭'自动查找验证码'功能即可!")) {
        //     result = prompt("请输入待选择元素的JsPath,例如:\n#app > div:nth-child(3) > div > input");
        //     try {
        //         if ($(result).length == 1) {
        //             return result;
        //         }
        //     } catch (e) {
        //     }
        // }

        that.Hint('该网站非标准web结构,暂时无法添加规则,请联系群内志愿者添加。')
        return null;

    }

    //判断元素id是否可信
    getElementId(element) {
        var id = element.id;
        if (id) {
            if (this.checkBadElemId(id)) {// 对抗类似vue这种无意义id
                if (id.length < 40) {// 对抗某些会自动变换id的验证码
                    return true;
                }
            }
        }
        return false;
    }

    //爬层级
    Climb(Element, ElementLocalName, Joint = '') {
        var ElementType = (this.getElementId(Element) ? Element.id : Element.className ? Element.className.replace(/\s/g, ".") : false);
        var Symbol = (this.getElementId(Element) ? "#" : Element.className ? "." : false);
        var Address;
        if (ElementType && ElementLocalName == Element.localName) {
            Address = ElementLocalName + Symbol + ElementType;
        } else {
            Address = "";
            if (Symbol != false) {
                Address = Address + Symbol;
            }
            if (ElementType != false) {
                Address = Address + ElementType;
            }
            Address = ' ' + ElementLocalName
        }
        if ($(Address).length == 1) {
            return Address + ' ' + Joint;
        } else {
            Joint = this.Climb($(Element).parent()[0], $(Element).parent()[0].localName, Address + ' ' + Joint)
            return Joint;
        }
    }

    // 获取vue的data-v-xxxx
    getDataV(element) {
        var elementKeys = element.attributes;
        if (elementKeys == null) {
            return null;
        }
        for (var i = 0; i < elementKeys.length; i++) {
            var key = elementKeys[i].name;
            if (key.indexOf("data-v-") != -1) {
                return key;
            }
        }
        return null;
    }

    // 获取placeholder="验证码"
    getPlaceholder(element) {
        var elementKeys = element.attributes;
        if (elementKeys == null) {
            return null;
        }
        for (var i = 0; i < elementKeys.length; i++) {
            var key = elementKeys[i].name.toLowerCase();
            if (key == "placeholder" && elementKeys[i].value != "") {
                return elementKeys[i].name + "='" + elementKeys[i].value + "'";
            }
        }
        return null;
    }

    // 获取alt="kaptcha"
    getAlt(element) {
        var elementKeys = element.attributes;
        if (elementKeys == null) {
            return null;
        }
        for (var i = 0; i < elementKeys.length; i++) {
            var key = elementKeys[i].name.toLowerCase();
            if (key == "alt") {
                return elementKeys[i].name + "='" + elementKeys[i].value + "'";
            }
        }
        return null;
    }

    // 获取src="http://xxx.com"
    getSrc(element) {
        var elementKeys = element.attributes;
        if (elementKeys == null) {
            return null;
        }
        for (var i = 0; i < elementKeys.length; i++) {
            var key = elementKeys[i].name.toLowerCase();
            var value = elementKeys[i].value;
            if (key == "src" && value.indexOf("data:image") != 0) {
                var idenIndex = value.indexOf("?");
                if (idenIndex != -1) {
                    value = value.substring(0, idenIndex + 1);
                }

                // 从 URL 中提取文件名
                const filename = value.substring(value.lastIndexOf('/') + 1);
                // 从文件名中提取后缀部分
                const fileExtension = filename.substring(filename.lastIndexOf('.') + 1);
                if (fileExtension == "jpg" || fileExtension == "png" || fileExtension == "gif") {
                    // 直接是静态文件,无法作为规则
                    return null;
                }
                if (/\d/.test(value)) {
                    // 存在数字则可能是时间戳之类得,尝试获取上级目录
                    const lastSlashIndex = value.lastIndexOf('/');
                    if (lastSlashIndex !== -1) {
                        let truncateURL = value.substring(0, lastSlashIndex);
                        if (truncateURL.indexOf("blob:") == 0) {
                            truncateURL = truncateURL.substring(5, truncateURL.length);
                        }
                        if (truncateURL.indexOf("http") != 0) {
                            truncateURL = "http:" + truncateURL;
                        }
                        try {
                            const url = new URL(value);
                            if (url.pathname != "/") {
                                value = truncateURL;
                            }
                        } catch (e) {
                            //非标准url,不需要处理,直接返回即可
                        }
                    }
                }
                return elementKeys[i].name + "^='" + value + "'";
            }
        }

        return null;
    }

    // 判断name是否只有一个
    getElementName(element) {
        var elementName = element.name;
        if (elementName == null || elementName == "") {
            return null;
        }
        var selectElement = element.localName + "[name='" + elementName + "']";
        if ($(selectElement).length == 1) {
            return selectElement;
        }
        return null;
    }

    // 判断OnClick是否只有一个
    getOnClick(element) {
        var elementKeys = element.attributes;
        if (elementKeys == null) {
            return null;
        }
        for (var i = 0; i < elementKeys.length; i++) {
            var key = elementKeys[i].name.toLowerCase();
            var value = elementKeys[i].value;
            if (key == "onclick") {
                var idenIndex = value.indexOf("(");
                if (idenIndex != -1) {
                    value = value.substring(0, idenIndex + 1);
                }
                return elementKeys[i].name + "^='" + value + "'";
            }
        }
        return null;
    }

    // 判断ClassName是否只有一个
    getElementClassName(element) {
        var a = element.classList;
        var elementClassName = [];
        for (var i = 0; i < a.length; i++) {
            if (a[i].indexOf("hover") != -1 || a[i].indexOf("active") != -1) {
                continue
            }
            elementClassName.push("." + a[i]);
        }
        if (elementClassName.length == 0) {
            return null;
        }
        var selectElement = element.localName + Array.from(elementClassName).join('');
        if ($(selectElement).length == 1) {
            return selectElement;
        }
        return null;
    }


    // 操作webStorage 增加缓存,减少对服务端的请求
    setCapFoowwLocalStorage(key, value, ttl_ms) {
        var data = {value: value, expirse: new Date(ttl_ms).getTime()};
        sessionStorage.setItem(key, JSON.stringify(data));
    }

    getCapFoowwLocalStorage(key) {
        var data = JSON.parse(sessionStorage.getItem(key));
        if (data !== null) {
            if (data.expirse != null && data.expirse < new Date().getTime()) {
                sessionStorage.removeItem(key);
            } else {
                return data.value;
            }
        }
        return null;
    }

    delCapFoowwLocalStorage(key) {
        window.sessionStorage.removeItem(key);
    }

    // 自动添加识别错误黑名单
    addBadWeb(img, input) {
        if (Set["autoBlackList"] == "false") {
            return;
        }
        this.Hint("识别过程中发生错误,已停止识别此网站!(若验证码消失请刷新网站,需再次启用识别请在'更多设置'中删除所有规则)", 15000);
        this.captchaHostBad(img, input);
    }

    // 手动添加识别错误黑名单
    captchaHostBad(img, input) {
        this.setCapFoowwLocalStorage("err_" + img, "可能存在跨域等问题停止操作它", new Date().getTime() + (1000 * 1000));
        this.delCapFoowwLocalStorage("captchaHostQuery_" + window.location.host);
        this.Query({
            "method": "captchaHostAdd", "data": {
                "host": window.location.host,
                "path": window.location.href,
                "img": img,
                "input": input,
                "title": document.title,
                "type": 0,
                "idcard": this.IdCard()
            }
        }, null);
    }


    // 删除规则
    captchaHostDel() {
        if (!confirm("该操作会导致清除‘" + window.location.host + "’网站下含黑名单在内的所有规则,删除后您需要重新手动添加规则,是否继续?")) {
            return;
        }
        this.delCapFoowwLocalStorage("captchaHostQuery_" + window.location.host);
        this.Query({
            "method": "captchaHostDel", "data": {
                "host": window.location.host,
                "idcard": this.IdCard()
            }
        }, null);
    }

    // 设置识别识别码
    SetIdCard() {
        var that = this;
        let gmGetValue = GM_getValue("set");
        var idCard = gmGetValue["idCard"];
        if (idCard != null && idCard.length == 32) {
            return;
        }

        idCard = prompt("申请地址https://like996.icu:1205\n设置后如需修改可在更多设置中“恢复出厂设置”后重试。\n请输入您的识别码:");
        if (idCard == null || idCard == "") {
            that.Hint('取消设置');
        } else {
            if (idCard.length != 32) {
                that.Hint('识别码应为32位,请参考设置中的“查看帮助”进行自行注册!');
            } else {
                GM_setValue("set", {
                    "idCard": idCard
                });
                that.Hint('识别码设置完成刷新页面生效。');
            }

        }
        return;
    }

    // 播放音频朗读
    doWarningTone(body) {
        if (body.indexOf(",")) {
            body = body.split(",")[0];
        }
        if (body.indexOf(",")) {
            body = body.split(",")[0];
        }
        if (body.indexOf("!")) {
            body = body.split("!")[0];
        }
        var zhText = encodeURI(body);
        var text = "<audio autoplay='autoplay'>" + "<source src='https://dict.youdao.com/dictvoice?le=zh&audio=" + zhText + "' type='audio/mpeg'>" + "<embed height='0' width='0' src='https://dict.youdao.com/dictvoice?le=zh&audio=" + zhText + "'>" + "</audio>";
        return text;
    }

    // 获取元素的全部样式
    getElementStyle(element) {
        if (window.getComputedStyle) {
            return window.getComputedStyle(element, null);
        } else {
            return element.currentStyle;
        }
    }


    // 获取元素的cssPath选择器
    getElementCssPath(element) {
        if (!(element instanceof Element) || !element.parentElement) {
            return null;
        }

        const path = [];
        while (element.parentElement) {
            let selector = element.nodeName.toLowerCase();
            if (element.id && this.checkBadElemId(element.id)) {
                selector += `#${element.id}`;
                path.unshift(selector);
                break;
            } else {
                const siblings = Array.from(element.parentElement.children).filter(e => e.nodeName.toLowerCase() === selector);
                const index = siblings.indexOf(element);

                if (siblings.length > 1) {
                    selector += `:nth-of-type(${index + 1})`;
                }

                path.unshift(selector);
                element = element.parentElement;
            }
        }

        return path.join(' > ');
    }

    //检查是否为随机的Id
    checkBadElemId(idStr) {
        if (idStr.indexOf("exifviewer-img-") != -1) {
            return false;
        }
        const pattern = /[-_]\d$/;
        return !pattern.test(idStr);
    }

    // 获取指定字符串hash
    strHash(input) {
        var I64BIT_TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-'.split('');
        var hash = 5381;
        var i = input.length - 1;

        if (typeof input == 'string') {
            for (; i > -1; i--) hash += (hash << 5) + input.charCodeAt(i);
        } else {
            for (; i > -1; i--) hash += (hash << 5) + input[i];
        }
        var value = hash & 0x7FFFFFFF;

        var retValue = '';
        do {
            retValue += I64BIT_TABLE[value & 0x3F];
        } while (value >>= 6);

        return retValue;
    }

    // 监控热键
    crabFacebook() {
        document.onkeydown = function () {
            if (Set["hotKeyToImgResult"] == "false") {
                return;
            }
            var keyCodeName = {
                "91": "command",
                "96": "0",
                "97": "1",
                "98": "2",
                "99": "3",
                "100": "4",
                "101": "5",
                "102": "6",
                "103": "7",
                "104": "8",
                "105": "9",
                "106": "*",
                "107": "+",
                "108": "回车",
                "109": "-",
                "110": ".",
                "111": "/",
                "112": "F1",
                "113": "F2",
                "114": "F3",
                "115": "F4",
                "116": "F5",
                "117": "F6",
                "118": "F7",
                "119": "F8",
                "120": "F9",
                "121": "F10",
                "122": "F11",
                "123": "F12",
                "8": "BackSpace",
                "9": "Tab",
                "12": "Clear",
                "13": "回车",
                "16": "Shift",
                "17": "Control",
                "18": "Alt",
                "20": "Cape Lock",
                "27": "Esc",
                "32": "空格",
                "33": "Page Up",
                "34": "Page Down",
                "35": "End",
                "36": "Home",
                "37": "←",
                "38": "↑",
                "39": "→",
                "40": "↓",
                "45": "Insert",
                "46": "Delete",
                "144": "Num Lock",
                "186": ";",
                "187": "=",
                "188": ",",
                "189": "-",
                "190": ".",
                "191": "/",
                "192": "`",
                "219": "[",
                "220": "\\",
                "221": "]",
                "222": "'",
                "65": "A",
                "66": "B",
                "67": "C",
                "68": "D",
                "69": "E",
                "70": "F",
                "71": "G",
                "72": "H",
                "73": "I",
                "74": "J",
                "75": "K",
                "76": "L",
                "77": "M",
                "78": "N",
                "79": "O",
                "80": "P",
                "81": "Q",
                "82": "R",
                "83": "S",
                "84": "T",
                "85": "U",
                "86": "V",
                "87": "W",
                "88": "X",
                "89": "Y",
                "90": "Z",
                "48": "0",
                "49": "1",
                "50": "2",
                "51": "3",
                "52": "4",
                "53": "5",
                "54": "6",
                "55": "7",
                "56": "8",
                "57": "9"
            };
            var a = window.event.keyCode;
            if (Set["hotKeyToImgResult"] == "wait" && a != undefined) {
                var keyName = keyCodeName[a + ""] == undefined ? a : keyCodeName[a + ""];
                crabCaptcha.Hint('快捷键设置成功当前快捷键为:' + keyName + ",重新打开页面生效!");
                Set["hotKeyToImgResult"] = "true";
                Set["hotKey"] = a;
                GM_setValue("set", Set);
                clearInterval(writeResultInterval);
            } else {
                if (a == Set["hotKey"]) {
                    crabCaptcha.WriteResultsInterval();
                    crabCaptcha.Hint("开始快捷键识别验证码,在当前页面刷新之前新的验证码将自动识别!");
                }
            }
        }
    }
}

//所有验证码img的对象数组
var writeResultIntervals = [];

//定时执行验证码绑定操作定时器
var writeResultInterval;


function closeButton() {
    const closebtn = document.createElement("div");
    closebtn.innerHTML = " × ";
    closebtn.style.position = "absolute";
    closebtn.style.top = "10px";
    closebtn.style.right = "10px";
    closebtn.style.cursor = "pointer";
    closebtn.style.fontWeight = 900;
    closebtn.style.fontSize = "larger";
    closebtn.setAttribute("onclick", "CKTools.modal.hideModal()");
    return closebtn;
}

async function GUISettings() {
    if (CKTools.modal.isModalShowing()) {
        CKTools.modal.hideModal();
    }
    const menuList = [{
        name: 'autoIdentification',
        title: '自动查找无规则验证码',
        hintOpen: '已开启自动查找验证码功能,请刷新网页',
        hintClose: '已关闭自动查找验证码功能,遇到新网站请自行手动添加规则!',
        desc: '对于未添加规则的页面,将自动查找页面上的验证码,有找错的可能。',
        openVul: 'true',
        closeVul: 'false'
    }, {
        name: 'showHintCheck',
        title: '提示信息',
        hintOpen: '提示功能已开启!',
        hintClose: '提示功能已关闭,再次开启前将无任何提示!',
        desc: '关闭前请确保已知晓插件的使用流程!',
        openVul: 'true',
        closeVul: 'false'
    }, {
        name: 'warningTone',
        title: '提示音',
        hintOpen: '提示音功能已开启!',
        hintClose: '提示音功能已关闭!',
        desc: '自动朗读提示信息中的文字!',
        openVul: 'true',
        closeVul: 'false'
    }, {
        name: 'autoBlackList',
        title: '识别崩溃自动拉黑网站',
        hintOpen: '崩溃自动拉黑网站功能已开启!',
        hintClose: '崩溃自动拉黑网站功能已关闭!',
        desc: '遇到跨域或其他错误导致验证码无法加载时自动将网站加到黑名单中。',
        openVul: 'true',
        closeVul: 'false'
    }, {
        name: 'hotKeyToImgResult',
        title: '快捷键查找验证码',
        hintOpen: '请直接按下您需要设置的快捷键!设置快捷键前请确保当前页面能够自动识别否则先手动添加规则!',
        hintClose: '快捷键查找验证码已关闭!',
        desc: '先手动添加规则后再开启,开启后将停止自动识别,仅由快捷键识别!',
        openVul: 'wait',
        closeVul: 'false',
        doWork: 'crabCaptcha.crabFacebook()'
    }, {
        name: 'openHelp',
        type: 'button',
        title: '查看使用帮助',
        desc: '如果您使用上遇到问题或障碍,请仔细阅读该内容!',
        hintOpen: '使用帮助说明网页已打开,若遇到您无法解决的问题,可加群联系群内志愿者!',
        doWork: 'crabCaptcha.openHelp()'
    }, {
        name: 'clearSet',
        type: 'button',
        title: '恢复出厂设置',
        hintOpen: '已成功恢复出厂设置刷新页面即可生效',
        desc: '清除所有设置,包括识别码!',
        doWork: 'crabCaptcha.clearSet()'
    },]
    CKTools.modal.openModal("万能验证码自动输入-更多设置(点击切换)", await CKTools.domHelper("div", async container => {
        container.appendChild(closeButton());
        container.style.alignItems = "stretch";
        for (var i = 0; i < menuList.length; i++) {
            container.appendChild(await CKTools.domHelper("li", async list => {
                list.classList.add("showav_menuitem");
                list.setAttribute('menuId', i);
                list.addEventListener("click", e => {
                    let targetElem = $(e.target.parentElement);
                    let menuId = targetElem.attr("menuId");
                    if (menuList[menuId].type == "button") {
                        if (eval(menuList[menuId].doWork)) {
                            crabCaptcha.Hint(menuList[menuId].hintOpen);
                        }
                    } else {
                        const label = document.querySelector("#" + menuList[menuId].name + "Tip");
                        const checkbox = document.querySelector("#" + menuList[menuId].name);
                        if (!label) return;
                        if (!checkbox.checked) {
                            label.innerHTML = "<b>[已开启]</b> " + menuList[menuId].title;
                            Set[menuList[menuId].name] = menuList[menuId].openVul;
                            GM_setValue("set", Set);
                            checkbox.checked = true;
                            crabCaptcha.Hint(menuList[menuId].hintOpen);
                            let doWork = menuList[menuId].doWork;
                            if (doWork != null) {
                                eval(doWork)
                            }
                        } else {
                            label.innerHTML = "<span>[已关闭]</span>" + menuList[menuId].title;
                            Set[menuList[menuId].name] = menuList[menuId].closeVul;
                            checkbox.checked = false;
                            GM_setValue("set", Set);
                            crabCaptcha.Hint(menuList[menuId].hintClose);
                        }
                    }
                })
                if (menuList[i].type == 'button') {
                    list.appendChild(await CKTools.domHelper("label", label => {
                        label.id = menuList[i].name + "Tip";
                        label.innerHTML = menuList[i].title;
                    }));
                } else {
                    list.appendChild(await CKTools.domHelper("input", input => {
                        input.type = "checkbox";
                        input.id = menuList[i].name;
                        input.name = menuList[i].name;
                        input.style.display = "none";
                        input.checked = Set[menuList[i].name] == 'true';
                    }));
                    list.appendChild(await CKTools.domHelper("label", label => {
                        label.id = menuList[i].name + "Tip";
                        label.setAttribute('for', menuList[i].name);
                        if (Set[menuList[i].name] == 'true') {
                            label.innerHTML = "<b>[已开启]</b>" + menuList[i].title;
                        } else {
                            label.innerHTML = "<span>[已关闭]</span>" + menuList[i].title;
                        }
                    }));
                }
                list.appendChild(await CKTools.domHelper("div", div => {
                    div.style.paddingLeft = "20px";
                    div.style.color = "#919191";
                    div.innerHTML = "说明:" + menuList[i].desc;
                }));
                list.style.lineHeight = "2em";
            }))
        }
        container.appendChild(await CKTools.domHelper("div", async btns => {
            btns.style.display = "flex";
            btns.style.alignItems = "flex-end";
            btns.appendChild(await CKTools.domHelper("button", btn => {
                btn.className = "CKTOOLS-toolbar-btns";
                btn.innerHTML = "关闭";
                btn.style.background = "#ececec";
                btn.style.color = "black";
                btn.onclick = e => {
                    CKTools.addStyle(``, "showav_lengthpreviewcss", "update");
                    CKTools.modal.hideModal();
                }
            }))
        }))
    }));
    //强制设置置顶,避免被占用
    $("#CKTOOLS-modal").css("z-index", "99999999999");
    //强制设置置顶,避免被占用
    $("#CKTOOLS-modal").height("600px");
}

async function GUIAddRule() {
    if (CKTools.modal.isModalShowing()) {
        CKTools.modal.hideModal();
    }
    const menuList = [{
        name: 'letterRule',
        title: '添加数字、字母验证码规则',
        type: 'button',
        desc: '请根据网站顶部提示:先右键验证码,再左键点击输入框!',
        doWork: 'crabCaptcha.LetterPickUp()'
    }, {
        name: 'slideRule',
        title: '添加滑动拼图验证码规则',
        type: 'button',
        desc: '请根据网站顶部提示,依次点击(左键右键均可):大图、小图、滑块!',
        doWork: 'crabCaptcha.SlidePickUp()'
    }, {
        name: 'slideBehaviorRule',
        title: '添加滑块行为验证码规则',
        type: 'button',
        desc: '注意:该类验证码仅有一个滑块,请根据网站顶部提示点击滑块!',
        doWork: 'crabCaptcha.slideBehaviorRule()'
    }, {
        name: 'captchaHostBad',
        title: '停止识别该网站',
        type: 'button',
        desc: '停止后该网站将不再识别,如需继续识别点击下方“删除该网站全部规则”。',
        doWork: 'crabCaptcha.captchaHostBad("bad","bad")'
    }, {
        name: 'captchaHostDel',
        title: '删除该网站全部规则',
        type: 'button',
        desc: '删除当前网站用户手动添加的全部规则,含黑名单。',
        doWork: 'crabCaptcha.captchaHostDel()'
    },]
    CKTools.modal.openModal("万能验证码自动输入-规则管理(请点击您要执行的操作)", await CKTools.domHelper("div", async container => {
        container.appendChild(closeButton());
        container.style.alignItems = "stretch";
        for (var i = 0; i < menuList.length; i++) {
            container.appendChild(await CKTools.domHelper("li", async list => {
                list.classList.add("showav_menuitem");
                list.setAttribute('doWork', menuList[i].doWork);
                list.addEventListener("click", e => {
                    CKTools.modal.hideModal();
                    eval($(e.target.parentElement).attr("doWork"));
                });
                if (menuList[i].type == 'button') {
                    list.appendChild(await CKTools.domHelper("label", label => {
                        label.id = menuList[i].name + "Tip";
                        label.value = i;
                        label.setAttribute('style', "color:blue");
                        label.innerHTML = menuList[i].title;
                    }));
                }
                list.appendChild(await CKTools.domHelper("div", div => {
                    div.style.paddingLeft = "20px";
                    div.style.color = "#919191";
                    div.innerHTML = "说明:" + menuList[i].desc;
                }));
                list.style.lineHeight = "2em";
            }))
        }
        container.appendChild(await CKTools.domHelper("div", async btns => {
            btns.style.display = "flex";
            btns.style.alignItems = "flex-end";
            btns.appendChild(await CKTools.domHelper("button", btn => {
                btn.className = "CKTOOLS-toolbar-btns";
                btn.innerHTML = "关闭";
                btn.style.background = "#ececec";
                btn.style.color = "black";
                btn.onclick = e => {
                    CKTools.addStyle(``, "showav_lengthpreviewcss", "update");
                    CKTools.modal.hideModal();
                }
            }))
        }))
    }));
    //强制设置置顶,避免被占用
    $("#CKTOOLS-modal").css("z-index", "99999999999");
    $("#CKTOOLS-modal").height("400px");


}

// hook一份ctx的结果,用于跨域获取
const originalDrawImage = CanvasRenderingContext2D.prototype.drawImage;
CanvasRenderingContext2D.prototype.drawImage = function (image, ...args) {
    if (image.tagName != null && image.tagName.toLowerCase() === "img" && image.src.indexOf("http") != -1) {
        $(this.canvas).attr("crab-src", image.src)
    }
    originalDrawImage.call(this, image, ...args);
};
var crabCaptcha = new CaptchaWrite();
(function () {
    const resourceList = [{name: 'cktools', type: 'js'}]

    function applyResource() {
        resloop: for (let res of resourceList) {
            if (!document.querySelector("#" + res.name)) {
                let el;
                switch (res.type) {
                    case 'js':
                    case 'rawjs':
                        el = document.createElement("script");
                        break;
                    case 'css':
                    case 'rawcss':
                        el = document.createElement("style");
                        break;
                    default:
                        console.log('Err:unknown type', res);
                        continue resloop;
                }
                el.id = res.name;
                el.innerHTML = res.type.startsWith('raw') ? res.content : GM_getResourceText(res.name);
                document.head.appendChild(el);
            }
        }
    }

    applyResource();
    GM_registerMenuCommand('规则管理', function () {
        GUIAddRule();
    }, 'a');

    if (Set["idCard"] == '' || Set["idCard"] == undefined) {
        GM_registerMenuCommand('设置识别码', function () {
            crabCaptcha.SetIdCard();
        }, 's');
    }
    GM_registerMenuCommand('更多设置', function () {
        GUISettings();
    }, 'u');
    crabCaptcha.Start();
    CKTools.addStyle(`
    #CKTOOLS-modal{
        width: fit-content!important;
        max-width: 80%!important;
    }
    .CKTOOLS-modal-content li label b {
        color: green!important;
    }
    .CKTOOLS-modal-content li label span {
        color: red!important;
    }
    .showav_menuitem{
        line-height: 2em;
        width: 100%;
        transition: all .3s;
        cursor: pointer;
    }
    .showav_menuitem:hover{
        transform: translateX(6px);
    }
    .showav_menuitem>label{
        font-weight: bold;
        font-size: large;
        display: block;
    }
    `, 'showav_dragablecss', "unique", document.head);

    CKTools.addStyle(`
    #CKTOOLS-modal li, #CKTOOLS-modal ul{
        list-style: none !important;
    }
    `, 'showav_css_patch', 'unique', document.head);
})();