- 博客(20)
- 资源 (1)
- 收藏
- 关注
原创 【UVa】612 – DNA Sorting
ProblemOne measure of unsortedness” in a sequence is the number of pairs of entries that are out of order with respect to each other. For instance, in the letter sequenceDAABEC“, this measure is 5, sin
2016-02-28 10:56:11 508
原创 【UVa】146 – ID Codes
ProblemIt is 2084 and the year of Big Brother has finally arrived, albeit a century late. In order to exercise greater control over its citizens and thereby to counter a chronic breakdown in law and or
2016-02-28 10:54:19 347
原创 【UVa】1600 – Patrol Robot
ProblemA robot has to patrol around a rectangular area which is in a form of m x n grid (m rows and ncolumns). The rows are labeled from 1 to m. The columns are labeled from 1 to n. A cell (i, j)denote
2016-02-28 10:50:16 481
原创 【UVa】10763 – Foreign Exchange
Problem hereProblemYour non-profit organization (iCORE – international Confederation of Revolver Enthusiasts) coordinates a very successful foreign student exchange program. Over the last few years, de
2016-02-28 10:49:06 651
原创 【UVa】536 – Tree Recovery
ProblemNow, years later, looking again at the strings, she realized that reconstructing the trees was indeed possible, but only because she never had used the same letter twice in the same tree. Howev
2016-02-28 10:47:39 423
原创 【CodeChef】 Life, the Universe, and Everything
Problem here All submissions for this problem are available. For help on this problem, please check out our tutorial Input and Output (I/O)ProblemYour program is to use the brute-force approach in or
2016-02-28 10:44:39 398
原创 【CodeChef】ATM
Problem here All submissions for this problem are available.ProblemPooja would like to withdraw X USfromanATM.ThecashmachinewillonlyacceptthetransactionifXisamultipleof5,andPooja′saccountbalancehaseno
2016-02-28 10:36:30 437
原创 【CodeChef】Enormous Input Test
Problem here All submissions for this problem are available.ProblemThe purpose of this problem is to verify whether the method you are using to read input data is sufficiently fast to handle problems
2016-02-28 10:33:32 539
原创 【CodeChef】Holes in the text
Problem here All submissions for this problem are available.ProblemChef wrote some text on a piece of paper and now he wants to know how many holes are in the text. What is a hole? If you think of the
2016-02-28 10:31:07 428
原创 【CodeForces】A. Watermelon
Problem hereProblem:One hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the watermelon was weighed, and the
2016-02-28 10:28:51 910
原创 【CodeForces】A. Way Too Long Words
Problem here: http: //codeforces.com/problemset/problem/71/AProblemSometimes some words like “localization” or “internationalization” are so long that writing them many times in one text is quite tires
2016-02-28 10:26:48 660
原创 【UVa】11292 - Dragon of Loowater
ProblemOnce upon a time, in the Kingdom of Loowater, a minor nuisance turned into a major problem. The shores of Rellau Creek in central Loowater had always been a prime breeding ground for geese. Due
2016-02-28 01:43:25 474
原创 【CodeForces】A. String Task
Problem hereProblemPetya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed to do the following: in the given string, consisting
2016-02-27 22:32:22 1130
原创 【CodeForces】A. Petya and Strings
Problem hereProblemLittle Petya loves presents. His mum bought him two strings of the same size for his birthday. The strings consist of uppercase and lowercase Latin letters. Now Petya wants to compar
2016-02-27 22:30:15 526
原创 【CodeForces】A. Helpful Maths
Problem hereProblemXenia the beginner mathematician is a third year student at elementary school. She is now learning the addition operation. The teacher has written down the sum of multiple numbers.
2016-02-27 22:28:07 438
原创 【CodeForces】A. Twins
Problem hereProblemImagine that you have a twin brother or sister. Having another person that looks exactly like you seems very unusual. It’s hard to say if having something of an alter ego is good or
2016-02-27 22:25:37 642
原创 【CodeForces】A. Lucky Division
Problem hereProblemPetya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal representation contains only the lucky digits 4 and 7. For example, numbers 47, 744,
2016-02-27 22:23:37 692
原创 【UVa】11413 – Fill the Containers
problem hereProblemA conveyor belt has a number of vessels of different capacities each filled to brim with milk. The milk from conveyor belt is to be filled into 『m』 containers. The constraints are:
2016-02-27 22:20:31 760
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人