原创 poj 1809 Regetni(數學)

Regetni Time Limit: 3000MS   Memory Limit: 30000K Total Submissions: 1595   Accepted: 615 Description Background 

原创 poj 1584 A Round Peg in a Ground Hole(計算幾何)

A Round Peg in a Ground Hole Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 4824   Accepted: 1487 D

原创 poj 3481 Double Queue(Size Balance Tree)

Double Queue Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 9309   Accepted: 4260 Description The n

原创 poj 3449 Geometric Shapes(計算幾何)

Geometric Shapes Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 1343   Accepted: 565 Description W

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

375. Query on a tree Problem code: QTREE You are given a tree (an acyclic undirected connected graph) with N nod

原创 Codeforces Round #226 (Div. 2)

A. Bear and Raspberry time limit per test 1 second memory limit per test 256 megabytes input standard input

原创 LightOJ 1193 Dice (II)(前綴和優化dp)

1193 - Dice (II) PDF (English) Statistics Forum Time Limit: 3 second(s) Memory Limit: 32 MB You have N dices;

原创 poj 3372 Candy Distribution(完全剩餘系)

Candy Distribution Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 5448   Accepted: 3002 Description N

原创 LOJ 1428 Melody Comparison(後綴數組)

1428 - Melody Comparison PDF (English) Statistics Forum Time Limit: 4 second(s) Memory Limit: 64 MB Bono, a v

原创 poj 1655 Balancing Act(樹dp)

Balancing Act Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 8095   Accepted: 3341 Description Consi

原创 zoj 3349 Special Subsequence(dp+線段樹優化)

Special Subsequence Time Limit: 5000MS   Memory Limit: 32768KB   64bit IO Format: %lld & %llu [Submit]   [Go Back

原创 ZOJ 3761 Easy billiards(並查集+樹遍歷)

E - Easy billiards Time Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%lld & %llu Submit Status Appo

原创 ZOJ 3757 Alice and Bob and Cue Sports(模擬題)

A - Alice and Bob and Cue Sports Time Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%lld & %llu Submit 

原创 SCU 4103 function(前綴處理+字典樹)

A - function Time Limit:0MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Practice SCU 4103

原创 ural 1523 K-inversions(dp+樹狀數組)

1523. K-inversions Time limit: 1.0 second Memory limit: 64 MB Consider a permutation a1, a2, …, an (all ai are dif