暴力求助,60分c++!!!

P2032 扫描

@[hutaotangzhu](/user/794736) 您知道时间复杂度是啥东西吗?
by too_simple @ 2023-02-09 16:58:45


@[too_simple](/user/366937) 知道,但不会算
by florr_exe @ 2023-02-09 17:03:53


而且我不会单调队列 呜呜呜~~
by florr_exe @ 2023-02-09 17:05:16


@[hutaotangzhu](/user/794736) 你做法的复杂度近似于O($n^2$),且这题确实是单调队列板子/kk
by too_simple @ 2023-02-09 17:07:28


哦 QAQ
by florr_exe @ 2023-02-09 17:08:56


@too_simple那暴力有可能过吗
by florr_exe @ 2023-02-09 17:12:02


@[hutaotangzhu](/user/794736) 应该大概率不可能,建议学一学单调队列
by too_simple @ 2023-02-09 17:14:17


@[too_simple](/user/366937) 好吧~ 谢谢 好人一生平安
by florr_exe @ 2023-02-09 17:17:11


@[hutaotangzhu](/user/794736) 时间复杂度可以在[这里](https://oi-wiki.org/basic/complexity/)学习
by Michaellg @ 2023-02-09 17:40:47


@[Michaellg](/user/670677) 谢谢
by florr_exe @ 2023-02-11 14:29:05


|