dongdongzhang_的专栏

分享oj代码解题报告

VIJOS P1037 搭建双塔

描述 2001年9月11日,一场突发的灾难将纽约世界贸易中心大厦夷为平地,Mr. F曾亲眼目睹了这次灾难。为了纪念“9?11”事件,Mr. F决定自己用水晶来搭建一座双塔。 Mr. F有N块水晶,每块水晶有一个高度,他想用这N块水晶搭建两座有同样高度的塔,使他们成为一座双塔,Mr. F可以...

2013-07-31 20:52:15

阅读数 2513

评论数 0

VIJOS P1264 神秘的咒语

输入: 1 5 1 4 2 5 -12 4 -12 1 2 4 输出: 2 题意: 有两个数组, N, M 思路: 最长上升公共子序列(LICS) #include #include #include #include using namesp...

2013-07-31 19:27:18

阅读数 1440

评论数 0

VIJOS P1098 合唱队形

输入: 8 186 186 150 200 160 130 197 220 输出:4 题意: 有N个数 (2 T1Ti+1>…>TK(1。问最少需要去掉多少个数字。 思路: 最长上升子序列(LIS) #include #include #inclu...

2013-07-31 19:23:36

阅读数 602

评论数 0

VIJOS P1028 魔族密码

输入: 5 i int integer intern internet 输出: 4 题意: 有N个字符串, N 思路: 一维背包 #include #include #include #include #include using names...

2013-07-31 19:19:13

阅读数 892

评论数 0

HDU 4630 No Pain No Game

No Pain No Game Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 474    Accepted Submission...

2013-07-31 17:00:14

阅读数 1733

评论数 1

HDU 4267 The Unsolvable Problem

The Unsolvable Problem Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 314    Accepted Sub...

2013-07-30 23:44:27

阅读数 955

评论数 0

HDU 4628 Pieces

Pieces Time Limit: 6000/3000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 316    Accepted Submission(s): 176 ...

2013-07-30 23:24:02

阅读数 820

评论数 0

HDU 4276 The Ghost Blows Light

The Ghost Blows Light Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1567    Accepted Submi...

2013-07-29 20:37:37

阅读数 526

评论数 0

HDU 4602 Partition

Partition Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1388    Accepted Submission(s): 57...

2013-07-29 10:14:38

阅读数 544

评论数 0

HDU 4607 Park Visit

Park Visit Time Limit: 6000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1295    Accepted Submission(s):...

2013-07-29 09:53:11

阅读数 741

评论数 0

HDU 4611 Balls Rearrangement

Balls Rearrangement Time Limit: 9000/3000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 1213    Accepted Submiss...

2013-07-29 00:21:20

阅读数 670

评论数 0

HDU 4619 Warm up 2

Warm up 2 Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 863    Accepted Submission(s): 407...

2013-07-27 23:24:18

阅读数 568

评论数 0

HDU 4614 Vases and Flowers

Vases and Flowers Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 904    Accepted Submission...

2013-07-27 22:45:11

阅读数 1051

评论数 2

HDU 4604 Deque

Deque Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1338    Accepted Submission(s): 476 ...

2013-07-27 13:29:04

阅读数 766

评论数 0

HDU 4618 Palindrome Sub-Array

Palindrome Sub-Array Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 503    Accepted Submiss...

2013-07-27 12:17:22

阅读数 642

评论数 0

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