田忌赛马(贪心)

Tian Ji -- The Horse RacingTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 34248    Accepted ...

2018-04-28 20:04:23

阅读数:29

评论数:0

动态规划(多个状态同时dp)

A. Vacationstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has n days of vacations! So he...

2018-04-28 18:47:18

阅读数:49

评论数:0

far relative‘s proplem(区间模拟)

B. Far Relative’s Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFamil Door wants to ce...

2018-04-28 17:27:48

阅读数:24

评论数:0

最大不能组合数和不能组合数的个数

A New Change ProblemTime Limit: 5000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1609    Accepted Submissi...

2018-04-28 16:40:32

阅读数:12

评论数:0

贪心(区间覆盖)

Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 101412 Accepted: 22561DescriptionAssume the coasting is an infinite strai...

2018-04-27 20:55:05

阅读数:12

评论数:0

区间覆盖

TIANKENG’s restaurantTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 3344    Accepted Submis...

2018-04-27 19:46:48

阅读数:16

评论数:0

贪心算法

Doing Homework againTime Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16565    Accepted Submiss...

2018-04-27 19:08:54

阅读数:9

评论数:0

sort对结构体排序

用sort对结构体进行排序步骤如下1.先写c++头文件# include<iostream># include<algorithm> //这个是sort的头文件 using namespace std; 2.定...

2018-04-24 21:22:24

阅读数:49

评论数:0

去重函数unique

Bear and Three Ballstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is a little polar bea...

2018-04-24 19:44:03

阅读数:12

评论数:0

前m大的数(打表标记)

前m大的数Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22462    Accepted Submission(s): 7609Pro...

2018-04-24 18:31:47

阅读数:12

评论数:0

8皇后问题(离线打表)

題目網址中文網址#include<iostream> using namespace std; int P[1000][9];//方式i中第j行皇后的列位置为P[i][j] int tmp[8];//当前方式中第i行皇后的列位置为tmp[i] int...

2018-04-24 17:46:46

阅读数:19

评论数:0

poj1315象棋(递归)

Don't Get RookedDescriptionIn chess, the rook is a piece that can move any number of squares vertically or horizontally. In this problem we will cons...

2018-04-24 16:53:55

阅读数:78

评论数:0

快速排序

快速排序的基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。快速排序是一种不稳定的排序算法,也就是说,多个相同的值的相对位置也许会在算法...

2018-04-23 15:09:18

阅读数:6

评论数:0

poj1040transportation(回溯)

TransportationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 4980 Accepted: 2042DescriptionRuratania is just entering capitalism and is es...

2018-04-18 21:50:30

阅读数:33

评论数:0

poj2083(分形图)

FractalTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 11068 Accepted: 4957DescriptionA fractal is an object or quantity that displays self...

2018-04-18 20:36:50

阅读数:14

评论数:0

The Settlers of Catan(回溯)

The Settlers of CatanDescriptionWithin Settlers of Catan, the 1995 German game of the year, players attempt to dominate an island by building roads, ...

2018-04-16 21:42:23

阅读数:20

评论数:0

八皇后相关问题

The Sultan's SuccessoThe Sultan of Nubia has no children, so she has decided that the country will be split into up tok separate parts on her death a...

2018-04-16 21:16:58

阅读数:11

评论数:0

poj1979(回溯)

Red and BlackTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 41029 Accepted: 22258DescriptionThere is a rectangular room, covered with squa...

2018-04-16 19:32:59

阅读数:11

评论数:0

poj1011(递归)

SticksTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 151880 Accepted: 36174DescriptionGeorge took sticks of the same length and cut them r...

2018-04-16 16:07:00

阅读数:21

评论数:0

poj1845(整数分解定理,约数和公式,同余模公式)

POJ1845-Sumdiv转载请注明出处:優YoU  http://user.qzone.qq.com/289065406/blog/1309237394 大致题意:求A^B的所有约数(即因子)之和,并对其取模 9901再输出。 解题思路:要求有较强 数学思维 的题应用定理主要有三个:要求有较强...

2018-04-15 22:04:29

阅读数:26

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭