最新 最热

POJ 2188 Cow Laundry

Cow Laundry Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1376 Accepted: 886 Description

2020-10-28
1

Codeforce 140C (贪心+优先队列)补题

C. New Year Snowmen time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output As meticulous Gerald sets the...

2020-10-28
1

CodeForces - 225C. Barcode(DP)

You’ve got an n × m pixel picture. Each pixel can be white or black. Your task is to change the colors of as few pixels as possible to obtain a barcode picture.

2020-10-28
1

POJ - 3278 Catch That Cow 简单搜索

Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line an...

2020-10-28
1

POJ - 2251 Dungeon Master(搜索)

You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes ...

2020-10-28
1

POJ - 3074 Sudoku (搜索)剪枝+位运算优化

In the game of Sudoku, you are given a large 9 × 9 grid divided into smaller 3 × 3 subgrids. For example,

2020-10-28
1

POJ2236 (并查集)

An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, but an unexpected aft...

2020-10-23
0

POJ2251(三维bfs)

You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes ...

2020-10-23
1

HDOJ-1711(kmp算法)

Given two sequences of numbers : a[1], a[2], … , a[N], and b[1], b[2], … , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task is to find a number K which make...

2020-10-23
1

HDOJ 1018(数论)

Problem Description In many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, e...

2020-10-23
1