关闭

POJ--1631

Bridging signals Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 14619   Accepted: 7909 Description 'Oh no, they've done it again', cries the chief designer ...
阅读(40) 评论(0)

HDU 1023 Train Problem II

As we all know the Train Problem I, the boss of the Ignatius Train Station want to know if all the trains come in strict-increasing order, how many orders that all the trains can get out of the railwa...
阅读(47) 评论(0)

L - Master-Mind Hints UVA - 340

MasterMind is a game for two players. One of them, Designer, selects a secret code. The other, Breaker,tries to break it. A code is no more than a row of colored dots. At the beginning of a game, the ...
阅读(75) 评论(0)

K - Ancient Cipher UVA - 1339

Ancient Roman empire had a strong government system with various departments, including a secretservice department. Important documents were sent between provinces and the capital in encryptedform to ...
阅读(60) 评论(0)

J - All in All UVA - 10340

You have devised a new encryption technique which encodes a message by inserting between its charactersrandomly generated strings in a clever way. Because of pending patent issues we will not discuss ...
阅读(58) 评论(0)

I - Foreign Exchange UVA - 10763

Your non-profit organization (iCORE - international Confederation of Revolver Enthusiasts) coordinatesa very successful foreign student exchange program. Over the last few years, demand hassky-rockete...
阅读(87) 评论(0)

H - Compound Words UVA - 10391

You are to find all the two-word compound words in a dictionary. A two-word compound word is aword in the dictionary that is the concatenation of exactly two other words in the dictionary.InputStandar...
阅读(88) 评论(0)

UVA-10935Throwing cards away I

Given is an ordered deck of n cards numbered 1to n with card 1 at the top and card n at thebottom. The following operation is performed aslong as there are at least two cards in the deck:Throw away th...
阅读(68) 评论(0)

UVA-1583Digit Generator

For a positive integer N, the digit-sum of N is defined as the sum of N itself and its digits. When Mis the digitsum of N, we call N a generator of M.For example, the digit-sum of 245 is 256 (= 245 + ...
阅读(61) 评论(0)

UVA10082WERTYU

A common typing error is to place thehands on the keyboard one row to theright of the correct position. So ‘Q’ istyped as ‘W’ and ‘J’ is typed as ‘K’ andso on. You are to decode a message typed in thi...
阅读(68) 评论(0)

UVA-70474Where is the Marble?

Raju and Meena love to play with Marbles. They have got a lot ofmarbles with numbers written on them. At the beginning, Raju wouldplace the marbles one after another in ascending order of the numbersw...
阅读(51) 评论(0)

UVA-455Periodic Strings

A character string is said to have period k if it can be formed by concatenating one or more repetitionsof another string of length k. For example, the string ”abcabcabcabc” has period 3, since it is ...
阅读(61) 评论(0)
    个人资料
    • 访问:8439次
    • 积分:1244
    • 等级:
    • 排名:千里之外
    • 原创:121篇
    • 转载:2篇
    • 译文:0篇
    • 评论:0条
    文章分类