参考了本人ac自动机简单版和题解的代码,依然没有找到错误所在,样例数据未过,反复查找,不得其解
by IT__windy @ 2022-05-08 02:47:20
@[a2084594018](/user/597716) 重载```<```写错了
应该为
```
bool operator <(const result &a)const {
if (num == a.num)return pos < a.pos;
return num > a.num;
}
```
by LJ07 @ 2022-05-08 08:16:06
没想到凌晨还有大佬在卷题 %%%
by LJ07 @ 2022-05-08 08:16:58
@[LJ07](/user/312306)
已解决,多谢了
by IT__windy @ 2022-05-08 10:31:22