原创 fzu 2082 過路費(樹鏈剖分,詢問兩點距離)

Problem 2082 過路費 Accept: 158    Submit: 630 Time Limit: 1000 mSec    Memory Limit : 32768 KB Problem Description 有n座

原创 poj 2923 Relocation(狀態壓縮+01揹包)

Relocation Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 1846   Accepted: 763 Description Emma and Er

原创 poj 2318 TOYS(叉積+二分)

TOYS Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 10292   Accepted: 4934 Description Calculate the nu

原创 poj 3744 Scout YYF I(矩陣快速冪+概率dp)

Scout YYF I Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 4569   Accepted: 1195 Description YYF is a

原创 ural 1750 Tree 2(樹的直徑 + 倍增)

Tree 2 Time Limit: 1000MS   Memory Limit: 65536KB   64bit IO Format: %I64d & %I64u [Submit]   [Go Back]   [Status]  

原创 hdu 3555 Bomb(數位dp)

Bomb Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 7487    

原创 hdu 4405 Aeroplane chess(概率dp)

Aeroplane chess Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s)

原创 poj 2019 Cornfields(二維RMQ)

Cornfields Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 5310   Accepted: 2613 Description FJ has deci

原创 hdu 3068 最長迴文

最長迴文 Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7868    A

原创 hdu 4333 Revolving Digits(擴展kmp)

Revolving Digits Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s

原创 C++大數模版(轉載)

轉載自<a target=_blank href="http://blog.csdn.net/hackbuteer1/article/details/6595881">http://blog.csdn.net/hackbuteer1/ar

原创 zoj 2587 Unique Attack(最小割的唯一性判定)

Unique Attack Time Limit: 5 Seconds      Memory Limit: 32768 KB N supercomputers in the United States of Antarctica a

原创 spoj 375 Query on a tree(樹鏈剖分模版)

Query on a tree Time Limit: 5000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu [Submit]   [Go Back]   [

原创 hdu 2609 How many(字符串的最小表示法)

How many Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1313 

原创 poj 2396 Budget(有源匯上下界可行流)

Budget Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 5621   Accepted: 2140   Special Judge Description