摘要: At Valentine's eve, Shylock and Lucar were enjoying their time as any other couples. Suddenly, LSH, Boss of FFF Group caught both of t... 阅读全文
posted @ 2018-07-23 22:29 StarHai 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Mr. Cui is working off-campus and he misses his girl friend very much. After a whole night tossing and turning, he decides to get to h... 阅读全文
posted @ 2018-07-23 22:22 StarHai 阅读(189) 评论(0) 推荐(0) 编辑
摘要: You are given a complete binary tree with n nodes. The root node is numbered 1, and node x's father node is ⌊x/2⌋⌊x/2⌋. At the beginning, node x has a 阅读全文
posted @ 2018-07-23 22:16 StarHai 阅读(199) 评论(0) 推荐(0) 编辑
摘要: You are to find all the two-word compound words in a dictionary. A two-word compound word is a word in the dictionary that is the conc... 阅读全文
posted @ 2018-07-23 21:56 StarHai 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Now our hero finds the door to the BEelzebub feng5166. He opens the door and finds feng5166 is about to kill our pretty Princess. But ... 阅读全文
posted @ 2018-07-23 21:54 StarHai 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Misha hacked the Codeforces site. Then he decided to let all the users change their handles. A user can now change his handle any numb... 阅读全文
posted @ 2018-07-23 21:53 StarHai 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, ... shows the first ... 阅读全文
posted @ 2018-07-23 21:51 StarHai 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study ... 阅读全文
posted @ 2018-07-23 21:50 StarHai 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the beginning, Raju would pl... 阅读全文
posted @ 2018-07-23 21:48 StarHai 阅读(160) 评论(0) 推荐(0) 编辑
摘要: The gaming company Sandstorm is developing an online two player game. You have been asked to implement the ranking system. All players... 阅读全文
posted @ 2018-07-23 21:46 StarHai 阅读(233) 评论(0) 推荐(0) 编辑