Mostly technical writing, with a few career posts and other things I ended up caring enough to write down.
AtCoder ABC 456 F Plan Holidays
2026-05-03把買假日問題轉成最大不相鄰省略和,並用線段樹「左右端狀態相依」模式維護動態查詢。順便整理 max subarray sum 同模式的對照。
Competitive ProgrammingSegment Tree
各大 Online Judge 介紹
2026-04-29從台灣的 ZeroJudge、TIOJ 到 Codeforces、AtCoder、LeetCode,主流 OJ 的特色、適合誰、怎麼用。給想入坑 CP 或不知道往哪邊練的人。
Competitive Programming
多年後的程式競賽選手生涯回憶錄
2026-04-14從計概作業太難開始刷題,到 ICPC Gold。你永遠不知道,你的興趣可以把你帶得多遠。
Competitive ProgrammingPersonal
LeetCode Weekly Contest 497 Q4 Good Subsequence Queries
2026-04-12Segment Tree 維護 GCD,分 case 討論。值域限制讓拿掉誰 GCD 都不為 1 只在很小的 n 才可能。
Competitive ProgrammingNumber Theory
CF2217F Interval Game
2026-04-08Nim + XOR 加法恆等式 + Digit DP。把區間博弈轉成 Nim,再用代數轉換拆解 counting。
Competitive ProgrammingGame Theory