最新 最热

图论--差分约束--POJ 3159 Candies

Language:Default Candies Time Limit: 1500MS Memory Limit: 131072KTotal Submissions: 43021 Accepted: 12075 Description ...

2020-10-28
1

A Tile Painting(循环节)

Ujan has been lazy lately, but now has decided to bring his yard to good shape. First, he decided to paint the path from his house to the gate.

2020-10-28
1

Codeforce 1255 Round #601 (Div. 2) A. Changing Volume (贪心)

Bob watches TV every day. He always sets the volume of his TV to bb. However, today he is angry to find out someone has changed the volume to aa. Of course, Bob...

2020-10-28
1

Codeforce 1255 Round #601 (Div. 2) C. League of Leesins (大模拟)

Bob is an avid fan of the video game "League of Leesins", and today he celebrates as the League of Leesins World Championship comes to an end!

2020-10-28
1

网络流--最大流--HDU 3549 Flow Problem

Network flow is a well-known difficult problem for ACMers. Given a graph, your task is to find out the maximum flow for the weighted directed graph.

2020-10-28
1

网络流--最大流--POJ 1273 Drainage Ditches

Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is covered by water for awhile and tak...

2020-10-28
1

图论--网络流--最大流--POJ 3281 Dining (超级源汇+限流建图+拆点建图)

Cows are such finicky eaters. Each cow has a preference for certain foods and drinks, and she will consume no others.

2020-10-28
1

图论--网络流--最小割 HDU 2485 Destroying the bus stations(最短路+限流建图)

Gabiluso is one of the greatest spies in his country. Now he’s trying to complete an “impossible” mission ----- to make it slow for the army of City Colugu to ...

2020-10-28
1

图论--网络流--最大流 HDU 2883 kebab(离散化)

Problem DescriptionAlmost everyone likes kebabs nowadays (Here a kebab means pieces of meat grilled

2020-10-28
1

CodeForces - 1245A Good ol' Numbers Coloring (思维)

In this way, each nonnegative integer gets one of two colors. For example, if a=3, b=5, then the colors of the numbers (in the order from 0) are: white (0), b...

2020-10-28
1