05 2016 档案
摘要:```cpp
I p(I q){r p(c((q>9?q-p(q/10):q)+'0')),q*10; }
```
阅读全文
摘要:主要利用了宏和stderr... 1. 输出到stderr 2. 若debug则插入一段代码 example. cpp include "cstdio" include "vector" include "cstring" include "cstdlib" include "algorithm"
阅读全文
摘要:http://share.weiyun.com/bcc6b7e2156f81447a1b431aba19d475
阅读全文
摘要:```cpp
#include"bits/stdc++.h"
#define il inline
#define op operator
#define _r return
#define _c const
#define _t typedef
#define ns namespace
#define sr struct
#define cb(x,y,z) il op z(_c x&a,_c x&...
阅读全文
摘要:我日啊..被cls的计数题虐得欲仙欲死...根本不会计数QAQ... 不懂数学啊... 前置技能 群 群是二元组$(G, )$,满足 $ :(G,G)\rightarrow G$ $\exists e\in G, \forall x\in G, x e=x=e x, \mathtt{(单位元)}$
阅读全文
摘要:```markdown
~
~
~
~
~ ZBG -- Zball's BloG
~ ~ ZBG是Public Domain的博客.
~ 维护人:zball 没有等
~ 帮助智力障碍的可怜儿童!
~
~
~
~
~
~
~
~
~
~ 0,0-1 全部
```
阅读全文
摘要:讲道理我是调不出来了... 考虑对序列按下标维护每个节点最后的树. 那么 1. 改操作点 把一段连续的节点改父亲 2. 加点/删点(注意拆成两个操作了) 插儿子 那么用seg维护一下下标, 用ETT维护Depth和MinDepth, 打标记就能维护了. ETT+Seg 细节很多,写了400行.
阅读全文
摘要:打了几天酱油.. day1 3分滚..考场上打了5+0+3,5文件名挂了. (因为5那题我会nlog^3n做法,然而只是暴力分而已.(被KDTree艹过去的一题)) 提答xjb玩了三分,原因是exgcd没有推出来. (真的自己对一些东西很生疏了..) day2 47滚. 全程肛提答. 覆盖了SPFA
阅读全文

浙公网安备 33010602011771号