原创 CDOJ 796 DAGE(Big Brother)

DAGE(Big Brother) Time Limit: 3000/1000MS (Java/Others)     Memory Limit: 65535/65535KB (Java/Others) Our famo

原创 CF 525B Pasha and String

B. Pasha and String time limit per test 2 seconds memory limit per test 256 megabytes input standard input out

原创 CF 2014 ACM-ICPC Vietnam National Second Round I. Space Tour

I. Space Tour time limit per test 2 seconds memory limit per test 256 megabytes input standard input output stand

原创 CF 273C C. Dima and Horses

C. Dima and Horses time limit per test 2 seconds memory limit per test 256 megabytes input standard input outp

原创 POJ 1723 SOLDIERS

POJ - 1723 SOLDIERS Time Limit:1000MS   Memory Limit:10000KB   64bit IO Format:%I64d & %I64u SubmitStatus Descript

原创 HYSBZ 1007 水平可見直線

Description  在xoy直角座標平面上有n條直線L1,L2,...Ln,若在y值爲正無窮大處往下看,能見到Li的某個子線段,則稱Li爲可見的,否則Li爲被覆蓋的.     例如,對於直線:     L1:y=x; L2:y

原创 CF 254Div1 C.DZY Loves Colors

C. DZY Loves Colors time limit per test 2 seconds memory limit per test 256 megabytes input standard input outp

原创 CF 2014 ACM-ICPC Vietnam National Second Round D. Treasure Box

D. Treasure Box time limit per test 2 seconds memory limit per test 256 megabytes input standard input output

原创 LA 4513 Stammering Aliens

Description Dr. Ellie Arroway has established contact with an extraterrestrial civilization. However, all efforts t

原创 SPOJ MCARDS

Dave’s little son Maverick likes to play card games, but being only fouryears old, he always lose when playing with hi

原创 cdoj Egg Broken

E - Eggs broken Time Limit: 5000/2000MS (Java/Others)     Memory Limit: 65535/65535KB (Java/Others) There is a b

原创 CF 267B Dominoes

B. Dominoes time limit per test 2 seconds memory limit per test 256 megabytes input standard input output stan

原创 CF 2014 ACM-ICPC Vietnam National Second Round C. ATM withdrawal

C. ATM withdrawal time limit per test 2 seconds memory limit per test 256 megabytes input standard input outpu

原创 ZOJ 3623 Battle Ships

Description Battle Ships is a new game which is similar to Star Craft. In this game, the enemy builds a defense towe

原创 ZOJ 3626 Treasure Hunt I

Description Akiba is a dangerous country since a bloodsucker living there. Sometimes the bloodsucker will appear and