原创 POJ2381——TOYS(暴力,叉積)

TOYS Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 10850   Accepted: 5208 Description Calculate th

原创 ZOJ3635——Cinema in Akiba(樹狀數組+二分)

Description Cinema in Akiba (CIA) is a small but very popular cinema in Akihabara. Every night the cinema is full of

原创 CF463C——Gargari and Bishops(模擬)

C. Gargari and Bishops time limit per test 3 seconds memory limit per test 256 megabytes input standard input

原创 HDU1754——I Hate It(線段樹入門)

I Hate It Time Limit: 9000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 39

原创 CF417D——Cunning Gena(狀態壓縮DP)

D. Cunning Gena time limit per test 1 second memory limit per test 256 megabytes input standard input output

原创 HDU4961——Boring Sum(數論)

Boring Sum Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s)

原创 CPC3——H.喵喵的最長序列(RMQ|單調隊列)

H.喵喵的最長序列 Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 3  Solved: 2 [Submit][Status][Web Board] Description 喵喵

原创 HDU1074——Doing Homework(狀態壓縮DP)

Doing Homework Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s)

原创 ZOJ3641——Information Sharing(基礎並查集)

Description There is going to be a test in the kindergarten. Since the kids would cry if they get a low score in the

原创 Uva10125/POJ2549——Sumsets(中途相遇法,hash)

Problem C - Sumsets Given S, a set of integers, find the largest d such that a + b + c = d where a, b, c, and d are d

原创 HDU5071——Chat(模擬)

Chat Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 670 

原创 Codeforces Round #277 (Div. 2)

Problems # Name     A Calculating Function standard input/output 1 s, 256 MB    x4080 B OR in Matri

原创 ZOJ3829——Known Notation(貪心,模擬)

Known Notation Time Limit: 2 Seconds      Memory Limit: 65536 KB Do you know reverse Polish notation (RPN)? It is a k

原创 hiho一下 第十一週——樹中的最長路

樹中的最長路 時間限制:10000ms 單點時限:1000ms 內存限制:256MB 描述 上回說到,小Ho得到了一棵二叉樹玩具,這個玩具是由小球和木棍連接起來的,而在拆拼它的過程中,小Ho發現他不僅僅可以拼湊成一棵

原创 HDU2517——How many ways??(矩陣快速冪)

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