自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(39)
  • 收藏
  • 关注

原创 UVa 10763 - Foreign Exchange

Problem EForeign ExchangeInput: standard inputOutput: standard outputTime Limit: 1 secondYour non-profit organization (iCORE - internationalConfederation of Revolver Enthusiasts) coord

2013-01-30 21:14:45 745

原创 UVa 10905 - Children's Game

4thIIUCInter-University Programming Contest, 2005AChildren’s GameInput: standard inputOutput: standard outputProblemsetter: Md. KamruzzamanThere a

2013-01-30 19:39:00 839

原创 POJ 1267 Cash Machine

Cash MachineTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 21397 Accepted: 7494DescriptionA Bank plans to install a machine for cash withdrawal. The mach

2013-01-30 15:34:36 635

原创 POJ 1837 Balance

BalanceTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 7939 Accepted: 4803DescriptionGigel has a strange "balance" and he wants to poise it. Actually, the

2013-01-30 12:48:44 887

原创 POJ 1129 Channel Allocation

Channel AllocationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 10300 Accepted: 5245DescriptionWhen a radio station is broadcasting over a very large ar

2013-01-30 09:58:48 765

原创 POJ 1260 Pearls

PearlsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 6032 Accepted: 2894DescriptionIn Pearlania everybody is fond of pearls. One company, called The Roya

2013-01-29 20:01:14 539

原创 SDUT 1465 公共因子

公共因子Time Limit: 1000MS Memory limit: 65536K 题目描述假设字符串也有因数,一个字符串为s1,然后可以由n个字符串s2来表示,则称s2是s1的因数。如“ac”是“acac”的因数。给两个字符串,求它们的公因数有多少个。输入多组数据,给定两个字符串,s1,s2。长度不超过100000,并且不含空格。输

2013-01-28 11:22:31 792

原创 SDUT 1451 括号东东

括号东东Time Limit: 1000MS Memory limit: 65536K 题目描述已知给出若干个只包含 “(” 或者 “)”字符串str!字符串的长度小于等于100W!求最长合法子串以及合法子串的个数!!合法字串的格式要求如下:1. “()”2. “(())()”3. “(()(()))”不合法的情况如:1. “)(”2. “(

2013-01-28 10:43:33 584

原创 POJ 1080 Human Gene Functions

Human Gene FunctionsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 14552 Accepted: 8059DescriptionIt is well known that a human gene can be considered as

2013-01-27 15:18:41 652

原创 POJ 3252 Round Numbers

Round NumbersTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 6553 Accepted: 2230DescriptionThe cows, as you know, have no fingers or thumbs and thus are

2013-01-26 12:44:56 591

原创 POJ 1942 Paths on a Grid

Paths on a GridTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 18725 Accepted: 4515DescriptionImagine you are attending your math lesson at school. Once a

2013-01-25 21:21:20 593

原创 POJ 1580 Code

CodeTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 6453 Accepted: 3026DescriptionTransmitting and memorizing information is a task that requires differen

2013-01-25 20:52:01 638

原创 POJ 1159 Palindrome

PalindromeTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 45118 Accepted: 15383DescriptionA palindrome is a symmetrical string, that is, a string read ide

2013-01-25 15:55:32 406

原创 POJ 3176 Cow Bowling

Cow BowlingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11302 Accepted: 7399DescriptionThe cows don't use actual bowling balls when they go bowling. Th

2013-01-25 10:18:10 602

原创 POJ 2533 Longest Ordered Subsequence

Longest Ordered SubsequenceTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 25229 Accepted: 10957DescriptionA numeric sequence of ai is ordered if a1  a2

2013-01-25 09:48:27 485

原创 POJ 1836 Alignment

AlignmentTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 9788 Accepted: 3107DescriptionIn the army, a platoon is composed by n soldiers. During the mornin

2013-01-25 09:23:50 747

原创 POJ 2676 Sudoku

SudokuTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 11054 Accepted: 5493 Special JudgeDescriptionSudoku is a very simple task. A square table with 9

2013-01-24 17:34:11 498

原创 POJ 1416 Shredding Company

Shredding CompanyTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 3138 Accepted: 1795DescriptionYou have just been put in charge of developing a new shredd

2013-01-24 12:21:15 721

原创 POJ 2531 Network Saboteur

Network SaboteurTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 7751 Accepted: 3474DescriptionA university network is composed of N computers. System admi

2013-01-23 20:42:35 655

原创 POJ 2151 Check the difficulty of problems

Check the difficulty of problemsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 3456 Accepted: 1521DescriptionOrganizing a programming contest is not an e

2013-01-23 16:15:13 447

原创 SDUT 1266 出栈序列统计

题目描述栈是常用的一种数据结构,有n个元素在栈顶端一侧等待进栈,栈顶端另一侧是出栈序列。你已经知道栈的操作有两种:push和pop,前者是将一个元素进栈,后者是将栈顶元素弹出。现在要使用这两种操作,由一个操作序列可以得到一系列的输出序列。请你编程求出对于给定的n,计算并输出由操作数序列1,2,……,n,经过一系列操作可能得到的输出序列总数。输入一个整数n(1输出一个整数,即可能

2013-01-23 12:43:09 960

原创 POJ 3087 Shuffle'm Up

Shuffle'm UpTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 4118 Accepted: 1929DescriptionA common pastime for poker players at a poker table is to shuf

2013-01-22 19:09:11 787

原创 POJ 1442 Black Box

Black BoxTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 5165 Accepted: 2091DescriptionOur Black Box represents a primitive database. It can save an integ

2013-01-22 17:54:38 658

原创 POJ 3009 Curling 2.0

Curling 2.0Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7634 Accepted: 3179DescriptionOn Planet MM-21, after their Olympic games this year, curling i

2013-01-22 14:24:36 469

原创 POJ 2488 A Knight's Journey

A Knight's JourneyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 23108 Accepted: 7819DescriptionBackgroundThe knight is getting bored of seeing the s

2013-01-21 16:05:01 765

原创 POJ 1426 Find The Multiple

Find The MultipleTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 13335 Accepted: 5445 Special JudgeDescriptionGiven a positive integer n, write a prog

2013-01-21 14:41:32 1117

原创 POJ 2251 Dungeon Master

Dungeon MasterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12655 Accepted: 4912DescriptionYou are trapped in a 3D dungeon and need to find the quickest

2013-01-21 13:39:16 1096

原创 POJ 2442 Sequence

SequenceTime Limit: 6000MS Memory Limit: 65536KTotal Submissions: 5658 Accepted: 1722DescriptionGiven m sequences, each contains n non-negative integer. Now we may

2013-01-21 11:24:50 850

原创 POJ 1321 棋盘问题

棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 16573 Accepted: 8195Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于

2013-01-20 21:40:40 1717

原创 POJ 2002 Squares

SquaresTime Limit: 3500MS Memory Limit: 65536KTotal Submissions: 12953 Accepted: 4758DescriptionA square is a 4-sided polygon whose sides have equal length and adja

2013-01-20 18:15:55 855

原创 POJ 3274 Gold Balanced Lineup

Gold Balanced LineupTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 9652 Accepted: 2881DescriptionFarmer John's N cows (1 ≤ N ≤ 100,000) share many simi

2013-01-19 20:04:39 704

原创 POJ 3414 Pots

PotsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7438 Accepted: 3120 Special JudgeDescriptionYou are given two pots, having the volume of A and B

2013-01-19 09:43:48 700

原创 POJ 3126 Prime Path

Prime PathTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8157 Accepted: 4649DescriptionThe ministers of the cabinet were quite upset by the message from

2013-01-18 20:13:49 628

原创 POJ 1840 Eqs

EqsTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 9716 Accepted: 4760DescriptionConsider equations having the following form: a1x13+ a2x23+ a3x33+ a4x4

2013-01-18 19:18:02 838

原创 POJ 2418 Hardwood Species

Hardwood SpeciesTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 14326 Accepted: 5814DescriptionHardwoods are the botanical group of trees that have broad

2013-01-17 12:26:01 1260

原创 POJ 2513 Colored Sticks

Colored SticksTime Limit: 5000MS Memory Limit: 128000KTotal Submissions: 25921 Accepted: 6849DescriptionYou are given a bunch of wooden sticks. Each endpoint of eac

2013-01-11 21:32:29 473

原创 POJ 3253 Fence Repair

Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 17270 Accepted: 5483DescriptionFarmer John wants to repair a small length of the fence aroun

2013-01-08 16:31:57 493

原创 POJ 2503 Babelfish

BabelfishTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 26214 Accepted: 11249DescriptionYou have just moved from Waterloo to a big city. The people here

2013-01-07 11:08:54 560

原创 POJ 3349 Snowflake Snow Snowflakes

Snowflake Snow SnowflakesTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 24826 Accepted: 6474DescriptionYou may have heard that no two snowflakes are al

2013-01-06 11:08:57 597

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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