摘要:
For each list of words, output a line with each word reversed without changing the order of the words. This problem contains multiple test cases! The 阅读全文
摘要:
In most languages, text is written from left to right. However, there are other languages where text is read and written from right to left. As a firs 阅读全文
摘要:
Mathematics can be so easy when you have a computer. Consider the following example. You probably know that in a right-angled triangle, the length of 阅读全文
摘要:
Little Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. ``Look, I've built a wall! 阅读全文
摘要:
BackgroundThe digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that dig 阅读全文
摘要:
Uniform Resource Identifiers (or URIs) are strings like http://icpc.baylor.edu/icpc/, mailto:foo@bar.org, ftp://127.0.0.1/pub/linux, or even just read 阅读全文
摘要:
When a Little White meets another Little White: Little White A: (Surprised) !Little White B: ?Little White A: You Little White know "SHDC"? So unbelie 阅读全文
摘要:
The look and say sequence is defined as follows. Start with any string of digits as the first element in the sequence. Each subsequent element is defi 阅读全文
摘要:
Given a string containing only 'A' - 'Z', we could encode it using the following method: 1. Each sub-string containing k same characters should be enc 阅读全文
摘要:
Given a positive integer n, print out the positions of all 1's in its binary representation. The position of the least significant bit is 0. ExampleTh 阅读全文
摘要:
You may have heard of the book '2001 - A Space Odyssey' by Arthur C. Clarke, or the film of the same name by Stanley Kubrick. In it a spaceship is sen 阅读全文
摘要:
A checksum is an algorithm that scans a packet of data and returns a single number. The idea is that if the packet is changed, the checksum will also 阅读全文
摘要:
Description: 有一些01字串,将其按1的个数的多少的顺序进行输出。 Sample Input: 10011111 00001101 1010101 1 0 1100 Sample Output: 0 1 1100 00001101 1010101 10011111 1 #include 阅读全文