版本比较
Kethle_Vin
个人介绍
增加 20 行删除 2 行
1234567813 行未改动2223242524252627282930313233343536373839404142434445464748mxoj:mxs0128:GMQ0128
https://gpt.lovetoome.com/
https://www.luogu.com.cn/discuss/1379038
1116
13 行未改动https://www.luogu.com.cn/discuss/1420473
https://www.luogu.com.cn/discuss/1422588
本题双倍经验为黑题,两题区别仅在于此题把 $O(N^2)$ 的放过去了,但明显难度在于思考和观察性质,$O(N^2)$ 和$O(N \log N)$ 的区别也仅仅只是实现的精细程度,换句话说,这一题 $O(N^2)$ 的做法在不改变思路和做法的情况下精细实现,只枚举有用状态就能写成 $O(N \log N)$,故两题无太大的本质区别,建议升黑。
https://www.luogu.com.cn/discuss/1433657
https://www.luogu.com.cn/discuss/1425474
https://www.weibo.com/5514620865/Ly2EcvsXv
https://www.luogu.com.cn/discuss/1435751
https://www.luogu.com.cn/problem/P2839
https://pic4.zhimg.com/v2-320dca201bfdc3f9d4595f7d027d2183_r.jpg
盒喵
luogu.me portable
https://c.wss.ink/f/sp62uo9nmox
下载之后直接用浏览器打开 html 即可。
https://www.luogu.me/article/v4p1hf0y
https://www.luogu.me/article/cqhi72t6