• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
youdiankun
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 下一页
2014年4月22日
uva299 - Train Swapping
摘要: 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... 阅读全文
posted @ 2014-04-22 15:55 youdiankun 阅读(311) 评论(0) 推荐(0)
2014年4月21日
uva152 - Tree's a Crowd
摘要: 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... 阅读全文
posted @ 2014-04-21 21:13 youdiankun 阅读(173) 评论(0) 推荐(0)
uva10474 - Where is the Marble?
摘要: 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... 阅读全文
posted @ 2014-04-21 20:13 youdiankun 阅读(210) 评论(0) 推荐(0)
2014年4月20日
uva-10420 - List of Conquests
摘要: 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... 阅读全文
posted @ 2014-04-20 12:27 youdiankun 阅读(303) 评论(0) 推荐(0)
uva-340 - Master-Mind Hints
摘要: 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... 阅读全文
posted @ 2014-04-20 11:43 youdiankun 阅读(546) 评论(0) 推荐(0)
2014年4月19日
白皮书-字母重排
摘要: 字母重排样例输入:tarp given score refund only trap work earn course pepper part******resco nfudre aptr sett oresuc样例输出:scorerefundpart tarp trap:(course题目要求:输... 阅读全文
posted @ 2014-04-19 21:36 youdiankun 阅读(653) 评论(0) 推荐(0)
白皮书-6174问题
摘要: 6174问题样例输入:1234样例输出:1234-> 3087-> 8352-> 6174-> 6174(4321-1234=3087,8730-378=8352,8532-2358=6174) ↑ ↑ 将3087从大到小排序 再反转 1 #include... 阅读全文
posted @ 2014-04-19 20:49 youdiankun 阅读(161) 评论(0) 推荐(0)
2014年4月3日
uva401 - Palindromes
摘要: 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 阅读全文
posted @ 2014-04-03 10:50 youdiankun 阅读(207) 评论(0) 推荐(0)
uva10115 - Automatic Editing
摘要: Automatic EditingText-processing tools likeawkandsedallow you to automatically perform a sequence of editing operations based on a script. For this pr... 阅读全文
posted @ 2014-04-03 09:19 youdiankun 阅读(225) 评论(0) 推荐(0)
2014年3月29日
XOR and OR
摘要: 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 阅读全文
posted @ 2014-03-29 20:57 youdiankun 阅读(436) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 下一页
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3