摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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 阅读全文
摘要:
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... 阅读全文
摘要:
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 ... 阅读全文
摘要:
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... 阅读全文
摘要:
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 ... 阅读全文
摘要:
Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study ... 阅读全文
摘要:
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... 阅读全文
摘要:
The gaming company Sandstorm is developing an online two player game. You have been asked to implement the ranking system. All players... 阅读全文