摘要: SMU Summer 2023 Contest Round 5 A. Points in Segments \(\mathcal{O}(n \times m)\) 做法数据范围小,直接把每次的\(l - r\)跑一遍标记一下,最后跑一遍循环统计哪些没有被标记的并且输出就好了 #include <bi 阅读全文
posted @ 2023-07-21 17:03 Ke_scholar 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 时间复杂度 \(\mathcal{O}(1) < \mathcal{O}(log_2{N}) < \mathcal{O}(Nlog_2{N})<\mathcal{O}(N^2) < \mathcal{O}(N^3)<\mathcal{O}(2^N)<\mathcal{O}(N!)<\mathcal{ 阅读全文
posted @ 2023-07-21 11:50 Ke_scholar 阅读(22) 评论(0) 推荐(0) 编辑