摘要: Problem StatementThe Utopian Tree goes through2cycles of growth every year. The first growth cycle occurs during the spring, when itdoublesin height. ... 阅读全文
posted @ 2015-11-09 04:44 飞飞喵 阅读(271) 评论(0) 推荐(0)
摘要: Problem StatementSherlock Holmes is getting paranoid about Professor Moriarty, his arch-enemy. All his efforts to subdue Moriarty have been in vain. T... 阅读全文
posted @ 2015-11-09 04:32 飞飞喵 阅读(275) 评论(0) 推荐(0)
摘要: Problem StatementThe professor is conducting a course on Discrete Mathematics to a class ofNstudents. He is angry at the lack of their discipline, and... 阅读全文
posted @ 2015-11-08 09:52 飞飞喵 阅读(253) 评论(0) 推荐(0)
摘要: Problem StatementYou are given time in AM/PM format. Can you convert this into a 24-hour format?InputInput consists of time in the AM/PM format i.e. h... 阅读全文
posted @ 2015-11-08 09:37 飞飞喵 阅读(262) 评论(0) 推荐(0)
摘要: stoi() // string to int to_string() // int to string 阅读全文
posted @ 2015-11-08 08:57 飞飞喵 阅读(221) 评论(0) 推荐(0)