摘要:
Train SwappingAt an old railway station, you may still encounter one of the last remaining ``train swappers''. A train swapper is an employee of the r... 阅读全文
摘要:
Tree's a CrowdDr William Larch, noted plant psychologist and inventor of the phrase ``Think like a tree--Think Fig'' has invented a new classification... 阅读全文
摘要:
Where is the Marble?Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the beginning, Raju woul... 阅读全文
摘要:
List of ConquestsIn Act I, Leporello is telling Donna Elvira about his master's long list of conquests:``This is the list of the beauties my master ha... 阅读全文
摘要:
Master-Mind HintsMasterMind 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... 阅读全文
摘要:
字母重排样例输入:tarp given score refund only trap work earn course pepper part******resco nfudre aptr sett oresuc样例输出:scorerefundpart tarp trap:(course题目要求:输... 阅读全文
摘要:
6174问题样例输入:1234样例输出:1234-> 3087-> 8352-> 6174-> 6174(4321-1234=3087,8730-378=8352,8532-2358=6174) ↑ ↑ 将3087从大到小排序 再反转 1 #include... 阅读全文
摘要:
PalindromesA regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string"ABCDEDCBA"is a palindrome because it is the same when the string is read from left to right as when the string is read from right to left.A mirrored string is a s 阅读全文
摘要:
Automatic EditingText-processing tools likeawkandsedallow you to automatically perform a sequence of editing operations based on a script. For this pr... 阅读全文
摘要:
XOR and ORDescriptionThe Bitlandians are quite weird people. They do everything differently. They have a different alphabet so they have a different definition for a string.A Bitlandish string is a string made only of characters "0" and "1".BitHaval (the mayor of Bitland) loves t 阅读全文