作者vincent97198 (萌新冒險者)
看板Prob_Solve
標題[問題] 請教 zerojudge c260 的想法
時間Wed Jan 30 16:58:05 2019
問題
https://zerojudge.tw/ShowProblem?problemid=c260
我的想法:
單調佇列找解
我的程式碼
https://ideone.com/A8PxXy
我的問題:
要用什麼方法才能找到全部的解呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.33.208.245
※ 文章網址: https://www.ptt.cc/bbs/Prob_Solve/M.1548838687.A.4D2.html
※ vincent97198:轉錄至看板 C_and_CPP 01/31 00:06
推 rareone: 分成兩個subtask 算出多少子陣列小於等於a 算出多少子陣 02/13 14:40
→ rareone: 列大於等於b 最後排容 02/13 14:40