2013年1月9日

USACO1.2.3--Name That Number

摘要: Name That NumberAmong the large Wisconsin cattle ranchers, it is customary to brand cows with serial numbers to please the Accounting Department. The cow hands don't appreciate the advantage of this filing system, though, and wish to call the members of their herd by a pleasing name rather than 阅读全文

posted @ 2013-01-09 16:26 仗剑奔走天涯 阅读(166) 评论(0) 推荐(0) 编辑

USACO1.2.5--Dual Palindromes

摘要: Dual PalindromesMario Cruz (Colombia) & Hugo Rickeboer (Argentina)A number that reads the same from right to left as when read from left to right is called a palindrome. The number 12321 is a palindrome; the number 77778 is not. Of course, palindromes have neither leading nor trailing zeroes, so 阅读全文

posted @ 2013-01-09 10:28 仗剑奔走天涯 阅读(201) 评论(0) 推荐(0) 编辑

导航