poj 2010 Moo University - Financial Aid (貪心+線段樹)
題意大概是:從c個中選出n個,使得總花費小於等於f,保證價值的中位數最大 做法:按價值排序之後,枚舉中位數,然後對於小於中位數的部分貪心選
UVA 1449 Dominating Patterns (LA4670) 出現次數最多的子串 ac自動機
Description The archaeologists are going to decipher a very mysterious
Codeforces Round #190 (Div. 2) 水果倆水題
後天考試,今天做題,我真佩服自己。。。 這次又只A倆水題。。。 orz各路神犇。。。 話說這次模擬題挺多。。。 半個多小時把前面倆水題做完,然後卡C,和往
10499 - The Land of Justice
Problem H The Land of Justice Input: standard input Output: standard output T
BZOJ 2275([Coci2010]HRPA-齊肯多夫定理-Fibonacci Nim)
2275: [Coci2010]HRPA Time Limit: 1 Sec Memory Limit: 128 MB Submit: 63&