随笔分类 - STL_algorithm学习
摘要:Description You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you
阅读全文
摘要:Description Most crossword puzzle fans are used to anagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP,
阅读全文
摘要:Description Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he knows
阅读全文
摘要:Description 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 place
阅读全文
摘要:Problem description So, the New Year holidays are over. Santa Claus and his colleagues can take a rest and have guests at last. When two "New Year and
阅读全文
摘要:Problem description Hooray! Berl II, the king of Berland is making a knight tournament. The king has already sent the message to all knights in the ki
阅读全文
摘要:Problem description While swimming at the beach, Mike has accidentally dropped his cellphone into the water. There was no worry as he bought a cheap r
阅读全文
摘要:Problem description Unary is a minimalistic Brainfuck dialect in which programs are written using only one token. Brainfuck programs use 8 commands: "
阅读全文
摘要:Problem description A string is a palindrome if it reads the same from the left to the right and from the right to the left. For example, the strings
阅读全文
摘要:Problem description There are n employees in Alternative Cake Manufacturing (ACM). They are now voting on some very important question and the leading
阅读全文
摘要:The Next Permutation The Next Permutation Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: For this pr
阅读全文