这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《萌新求助,刚学 SAM, 0 pts》回复:
只有字符串上的点,在后缀自动机上才能算size=1
在讨论《萌新求助,刚学 SAM, 0 pts》回复:
去你的,萌新
在讨论《引以为戒希望大家别像我CF的G T了一下午》回复:
```c++ while (i + p[i] <= n && 1 + p[i] <= m ``` 这是关键
多组数据 exkmp 那个间接的算法需要加个if不然要t ```c++ namespace exKMP { inline void Z(char *s, int n, int *z) { for (int i = 1; i r) l = i, r = i + z[i] - 1; } } inline void exkm…
在讨论《使用lambda 就RE了,不用就A了》回复:
@[feiko](/user/222441) 谢谢大佬
这是RE代码 ```c++ #include using namespace std; #define ll long long int read() { int x = 0, f = 1; char c = getchar(); while (c '9') { if (c == '-') f = -1; c = ge…
在讨论《开个O2 RE 不开就AC 人傻了》回复:
@[jerry3128](/user/27338) 谢谢大佬
```c++ #include using namespace std; #define ll long long #define pii pair const int N = 1e6 + 10; const int mod = 1e9 + 7; int read() { int x = 0, f = 1; char…
在讨论《萌新求助LCT WA》回复:
```c++ bool cut(int x, int y) { // split(y, x); makeroot(x); fa[son[x][0]] = 0;//( fa[y] = 0)这就RE 30分了 son[x][0] = 0; //x在findroot(y)后被转到了根 pushup(y); return 1;…
调教不出来 ```c++ #include using namespace std; #define ll long long #define pii pair const int N = 1e6 + 10; const int mod = 1e9 + 7; int read() { int x = 0, f = 1;…