摘要:
9.7 Crazy Search(字符串哈希) Many people like to solve hard puzzles some of which may lead them to madness. One such puzzle could be finding a hidden prime 阅读全文
摘要:
Email address in Berland is a string of the form A@B, where A and B are arbitrary strings consisting of small Latin letters. Bob is a system administr 阅读全文
摘要:
Lose it! You are given an array aa consisting of nn integers. Each aiai is one of the six following numbers: 4,8,15,16,23,424,8,15,16,23,42 . Your tas 阅读全文
摘要:
Though Rujia Liu usually sets hard problems for contests (for example, regional contests likeXi’an 2006, Beijing 2007 and Wuhan 2009, or UVa OJ contes 阅读全文
摘要:
map Most crossword puzzle fans are used to anagrams — groups of words with the same letters in different orders — for example OPTS, SPOT, STOP, POTS a 阅读全文
摘要:
One cold winter evening Alice and her older brother Bob was sitting at home near the fireplace and giving each other interesting problems to solve. Wh 阅读全文