German collegiate programming contest 2012 - Ski Jumping

G. Ski Jumping Time Limit: 8000ms Case Time Limit: 8000ms Memory Limit: 65536KB   Ski jumping is one of the most popular winter sport competitio...

2012-10-04 22:43:34

阅读数:1137

评论数:0

上海交大-“Code人心弦”9月网络赛-OddGraph

1098. OddGraph Description Pangzi looks somehow odd recently. He started to love odd things, like odd numbers and odd graphs. He says, an odd graph...

2012-09-27 02:06:45

阅读数:1766

评论数:0

hdu 1312 Red and Black

Red and Black Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 258   Accepted Submission(s) :...

2012-09-26 02:01:32

阅读数:519

评论数:0

选拔赛-染色

染色 Time Limit : 3000/1000ms (Java/Other)   Memory Limit : 65535/32768K (Java/Other) Total Submission(s) : 16   Accepted Submission(s) : 4 Font: T...

2012-09-26 01:17:44

阅读数:926

评论数:0

选拔赛-杀伤力

杀伤力 Time Limit : 3000/1000ms (Java/Other)   Memory Limit : 65535/32768K (Java/Other) Total Submission(s) : 46   Accepted Submission(s) : 13 Font:...

2012-09-26 01:13:05

阅读数:817

评论数:0

UVA 12493 Stars

Maratona de Programação da SBC – ACM ICPC – 2012                                                                                                  ...

2012-09-19 01:33:05

阅读数:1054

评论数:0

UVA 12482 Short Story Competition

Maratona de Programação da SBC – ACM ICPC – 2012                                                                                                  ...

2012-09-19 01:14:48

阅读数:857

评论数:0

中南大学2012暑期集训中期检测训练赛-求逆元

Problem A: 求逆元 Time Limit: 1 Sec  Memory Limit: 2 MB SUBMIT: 232  Solved: 77 [SUBMIT][STATUS] Description 给定正整数x,y,求最小的正整数z使得x*z mod y = 1。 ...

2012-09-14 09:38:56

阅读数:1763

评论数:0

赫夫曼编码

问题 J: 赫夫曼编码 题目描述 赫夫曼编码能够产生最短的报文。以报文“ABCDABCDABCABDABAA”为例,A编为0,B对应10,C对应110,D对应111,整体的报文长度为35位二进制。相比于定长的ASCII码,压缩比达到了18*8/35=4.1。 输入 输入有一...

2012-09-13 15:47:08

阅读数:892

评论数:0

hdu 1712 ACboy needs your help

ACboy needs your help Time Limit : 1000/1000ms (Java/Other)   Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 158   Accepted Submis...

2012-09-13 10:37:42

阅读数:434

评论数:0

中国象棋中的跳马问题(学习搜索中)

中国象棋中的跳马问题 时间限制: 2 Sec  内存限制: 128 MB 题目描述 现在棋盘的大小不一定,由p,q给出,并且在棋盘中将出现障碍物(限制马的行动,与象棋走法相同) 输入 第一行输入n表示有n组测试数据。 每组测试数据第一行输入2个整数p,q,表示棋盘...

2012-09-13 10:25:48

阅读数:955

评论数:0

PKU 3624 Charm Bracelet

Charm Bracelet Time Limit : 2000/1000ms (Java/Other)   Memory Limit : 131072/65536K (Java/Other) Total Submission(s) : 26   Accepted Submission(s)...

2012-09-12 16:00:45

阅读数:410

评论数:0

HDU 2084 数塔

数塔 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 11435    Accepted Submission(s): 6863 ...

2012-09-12 15:49:18

阅读数:424

评论数:0

2012 ACM/ICPC Asia Regional Tianjin Online-Faulty Odometer

Faulty Odometer Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1027    Accepted Submissio...

2012-09-12 15:38:07

阅读数:1335

评论数:0

2012 ACM/ICPC Asia Regional Changchun Online-LianLianKan

LianLianKan Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2389    Accepted Submission(s)...

2012-09-12 15:29:34

阅读数:653

评论数:0

简单查找

问题 I: 简单查找 时间限制: 3 Sec  内存限制: 22 MB 提交: 688  解决: 123 [提交][状态][讨论版] 题目描述 给定一个集合,查找元素是否在集合中出现。 输入 每个测试用例由多行组成,第一行是两个整数n和m,这2个数的取值在1到3 000 ...

2012-09-12 11:21:21

阅读数:364

评论数:0

ZOJ 3635 Cinema in Akiba

Cinema in Akiba Time Limit: 3 Seconds      Memory Limit: 65536 KB Cinema in Akiba (CIA) is a small but very popular cinema in Akihabara. Eve...

2012-09-12 11:12:57

阅读数:495

评论数:0

ZJUT 2012校赛决赛-涂颜色

涂颜色  Time Limit:2000MS  Memory Limit:32768K Description: 有n个未涂色的球,编号1到n。现在要给它们涂色。已知有m种颜料,每种颜料剩余量不一,因此每种颜料能够涂的球的个数是不同的,令它们是c1,c2,。。。,cm。 问...

2012-08-28 14:34:41

阅读数:1227

评论数:0

HDU 2669 Romantic

题意:找出最小的非负整数X,使之满足式子X*a + Y*b = 1。 思路:简单的扩展欧几里德。 #include int exgcd(int a,int b,int &x,int &y) { int i,j; if(b==0) { x=1; y=...

2012-08-28 00:57:11

阅读数:754

评论数:0

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