上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 94 下一页

2012年9月5日

HDU 4221 Greedy?(贪心)

摘要: Greedy?Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 908Accepted Submission(s): 284Problem DescriptioniSea is going to be CRAZY! Recently, he was assigned a lot of works to do, so many that you can't imagine. Each task costs Ci time as least, 阅读全文

posted @ 2012-09-05 23:30 kuangbin 阅读(1176) 评论(0) 推荐(0) 编辑

2012年9月4日

POJ 3128 Leonardo's Notebook(置换)

摘要: Leonardo's NotebookTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 1514Accepted: 645Description— I just bought Leonardo's secret notebook! Rare object collector Stan Ucker was really agitated but his friend, special investigator Sarah Kepticwas unimpressed. — How do you know it is g 阅读全文

posted @ 2012-09-04 16:18 kuangbin 阅读(699) 评论(0) 推荐(0) 编辑

POJ 1721 CARDS(置换)

摘要: CARDSTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 1033Accepted: 544DescriptionAlice and Bob have a set of N cards labelled with numbers 1 ... N (so that no two cards have the same label) and a shuffle machine. We assume that N is an odd integer. The shuffle machine accepts the set of car 阅读全文

posted @ 2012-09-04 15:46 kuangbin 阅读(669) 评论(0) 推荐(0) 编辑

2012年9月3日

POJ 1026 Cipher(置换)

摘要: CipherTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 16995Accepted: 4445DescriptionBob and Alice started to use a brand-new encoding scheme. Surprisingly it is not a Public Key Cryptosystem, but their encoding and decoding is based on secret keys. They chose the secret key at their last me 阅读全文

posted @ 2012-09-03 22:05 kuangbin 阅读(1432) 评论(0) 推荐(0) 编辑

POJ 3270 Cow Sorting(置换)

摘要: Cow SortingTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 4753Accepted: 1734DescriptionFarmer John's N (1 ≤ N ≤ 10,000) cows are lined up to be milked in the evening. Each cow has a unique "grumpiness" level in the range 1...100,000. Since grumpy cows are more likely to damag 阅读全文

posted @ 2012-09-03 16:28 kuangbin 阅读(1779) 评论(0) 推荐(0) 编辑

2012年9月2日

HDU 4122 Alice's mooncake shop(RMQ,或者单调队列)

摘要: Alice's mooncake shopTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1183Accepted Submission(s): 273Problem DescriptionThe Mid-Autumn Festival, also known as the Moon Festival or Zhongqiu Festival is a popular harvest festival celebrated by Chi 阅读全文

posted @ 2012-09-02 22:43 kuangbin 阅读(938) 评论(0) 推荐(0) 编辑

HDU 3400 Line belt (三分法)

摘要: Line beltTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1820Accepted Submission(s): 683Problem DescriptionIn a two-dimensional plane there are two line belts, there are two segments AB and CD, lxhgww's speed on AB is P and on CD is Q, he can m 阅读全文

posted @ 2012-09-02 09:41 kuangbin 阅读(1471) 评论(0) 推荐(0) 编辑

2012年9月1日

高斯消元法(模板)

摘要: #include<stdio.h>#include<algorithm>#include<iostream>#include<string.h>#include<math.h>using namespace std;const int MAXN=50;int a[MAXN][MAXN];//增广矩阵int x[MAXN];//解集bool free_x[MAXN];//标记是否是不确定的变元/*void Debug(void){ int i, j; for (i = 0; i < equ; i++) { for (j = 0; 阅读全文

posted @ 2012-09-01 20:59 kuangbin 阅读(17739) 评论(7) 推荐(2) 编辑

POJ 2065 SETI(高斯消元)

摘要: SETITime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 1148Accepted: 691DescriptionFor some years, quite a lot of work has been put into listening to electromagnetic radio signals received from space, in order to understand what civilizations in distant galaxies might be trying to tell us. One 阅读全文

posted @ 2012-09-01 13:12 kuangbin 阅读(1078) 评论(0) 推荐(0) 编辑

2012年8月31日

POJ 1166 The Clocks(暴搜)

摘要: The ClocksTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 12403Accepted: 4908Description|-------| |-------| |-------|| | | | | | ||---O | |---O | | O || | | | | ||-------| |-------| |-------| A B ... 阅读全文

posted @ 2012-08-31 23:07 kuangbin 阅读(1804) 评论(0) 推荐(0) 编辑

上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 94 下一页

导航

JAVASCRIPT: