- 博客(11)
- 收藏
- 关注
原创 UVA1339-Ancient Cipher
DescriptionAncient Roman empire had a strong government system with various departments, including a secret service department. Important documents were sent between provinces and the capital in
2015-07-28 23:04:25 342
原创 UVA489-Hangman Judge
DescriptionIn ``Hangman Judge,'' you are to write a program that judges a series of Hangman games. For each game, the answer to the puzzle is given as well as the guesses. Rules are the same as
2015-07-28 23:02:17 298
原创 UVA133-The Dole Queue
DescriptionIn a serious attempt to downsize (reduce) the dole queue, The New National Green Labour Rhinoceros Party has decided on the following strategy. Every day all dole applicants will be p
2015-07-28 22:58:48 205
原创 UVA10340-All in all
DescriptionYou have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a clever way. Because of pending patent issues we wil
2015-07-26 13:10:37 280
原创 UVA227-Puzzle
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=163DescriptionA children's puzzle that was popular 30 years ago consisted of a 5x5 frame w
2015-07-26 13:08:25 1987
原创 UVA455 Periodic Strings
DescriptionA character string is said to have period k if it can be formed by concatenating one or more repetitions of another string of lengthk. For example, the string "abcabcabcabc" has perio
2015-07-25 14:00:55 532
原创 UVA1225 Digit Counting
DescriptionTrung is bored with his mathematics homeworks. He takes a piece of chalk and starts writing a sequence of consecutive integers starting with 1 toN(1 N . After that, he counts the n
2015-07-25 13:05:07 289
原创 UVA1586 Molar mass
DescriptionAn organic compound is any member of a large class of chemical compounds whose molecules contain carbon. Themolar mass of an organic compound is the mass of one mole of the organic
2015-07-25 11:21:59 300
原创 HDU1106 排序
Problem Description输入一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一行用空格分割的若干非负整数(可能有些整数以‘0’开头,这些头部的‘0’应该被忽略掉,除非这个整数就是由若干个‘0’组成的,这时这个整数就是0)。你的任务是:对这些分割得到的整数,依从小到大的顺序排序输出。 Input输入包含多组测试用例,每组输入数据只有一行数
2015-07-23 15:09:17 444
原创 HDU1005 Number Sequence
Problem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to calculate the value of f(n).
2015-07-20 19:05:12 326
原创 HDU1018 Big Number
Problem DescriptionIn many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, encryption, etc. In this problem you are
2015-07-20 18:42:26 397
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人