问题 Exception in thread "thread-21" java.lang.IllegalMonitorStateException: attempt to unlock lock, not locked by current thread by node id: 59f44274-17cb-40cd-b83b-08ed1ed3ffc7 thread-id: 73at org.re
题意: n n n个点,相邻两点之间有一条边,每条边边权不同。 有 q q q次询问,每次询问给你一个起点 s s s,从这个点出发,每次往左右边权更小的点跑,求第 k k k个点是什么。 思路: 参考代码:https://doowzs.com/code/ks2020d-d/ 想到了线段树,没想到二分。 假设是求第 k k k个点,那结果可以看作是能包含 k k k个点的窗口。假设窗口左移,那
错误: NOTE: Cursor is locked to screen, check Scroll Lock key NOTE: Cursor is locked to screen, check Scroll Lock key NOTE: Cursor is locked to screen, check Scroll Lock key NOTE: Cursor is locked to