原创 Friends and Enemies HDU - 5874

On an isolated island, lived some dwarves. A king (not a dwarf) ruled the island and the seas nearby, there are abu

原创 Football Games HDU - 5873

A mysterious country will hold a football world championships—Abnormal Cup, attracting football teams and fans from

原创 Codeforces 427 C. Checkposts

Your city has n junctions. There are m one-way roads between the junctions. As a mayor of the city, you have to ens

原创 PIGS POJ - 1149

Mirko works on a pig farm that consists of M locked pig-houses and Mirko can’t unlock any pighouse because he doesn

原创 Optimal Milking POJ - 2112

FJ has moved his K (1 <= K <= 30) milking machines out into the cow pastures among the C (1 <= C <= 200) cows. A se

原创 shuoj_1559

1559: 無向圖的連通分支 Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 783  Solved: 451 [Submit][Status][Web Board] Descriptio

原创 ECNU-3260

袋鼠媽媽找孩子 Time limit per test: 1.5 seconds Time limit all tests: 10.0 seconds Memory limit: 256 megabytes 袋鼠媽媽找不到她

原创 Sparse Graph HDU - 5876

In graph theory, the complementcomplement of a graph GG is a graph HH on the same vertices such that two distinct v

原创 Drainage Ditches POJ - 1273

Every time it rains on Farmer John’s fields, a pond forms over Bessie’s favorite clover patch. This means that the

原创 Information Graph CodeForces - 466E

There are n employees working in company “X” (let’s number them from 1 to n for convenience). Initially the employe

原创 ECNU-3263

麗娃河的狼人傳說 Time limit per test: 1.0 seconds Time limit all tests: 1.0 seconds Memory limit: 256 megabytes 麗娃河是華師大著

原创 shu_mj 的數據結構專場(二)

2333 這個專題還是挺基礎的 做完了大概線段樹入門?嗯。。。騙騙自己入門了吧23333 Problem A: 求個和 (shuoj1883) Description 給你一個長爲N 的序列,M 條詢問,每次問你[l, r] 區

原创 Minimum Inversion Number HDU - 1394

The inversion number of a given number sequence a1, a2, …, an is the number of pairs (ai, aj) that satisfy i < j an

原创 codeforces-519C

A and B are preparing themselves for programming contests. An important part of preparing for a competition is shar

原创 退役了

沒去打EC其實早就算退役選手,但也等現在EC打完才真的感覺自己真的退役了吧。 我整個大學基本都在打比賽。這個比賽真的帶給了我很多。這比賽其實沒什麼用,大佬當遊戲打,菜雞打了個辣雞牌沒卵用。所以沒興趣的話還是別打了保平安吧。 今年打了兩場,