此题优先队列还能做吗?

P1725 琪露诺

__galaxy_1202__ @ 2024-09-07 10:30:32

一直过不去hack(悲


by DFs_YYDS @ 2024-09-07 10:39:50

@20121202Tzy 这题正解不就是优先队列吗?(之前老师给我们做过这题)。O(n) 怎么可能过不去


by QWQ_HY_DFX @ 2024-09-07 10:44:05

@DFs_YYDS srds,优先队列不应该是O(n \log n)吗(


by DFs_YYDS @ 2024-09-07 10:45:13

@QWQ_HY_DFX 我靠我是傻子,我老是把单调队列和优先队列弄混


|