05 2017 档案
摘要:N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we all know, some cows code better than others. Each
阅读全文
摘要:Several currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and performs exchang
阅读全文
摘要:Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt
阅读全文
摘要:An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assu
阅读全文
摘要:Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire escape plan. Help J
阅读全文
摘要:My birthday is coming up and traditionally I’mserving pie. Not just one pie, no, I have a numberN of them, of various tastes and of various sizes. Fof
阅读全文
摘要:Recently your team noticed that the computer you use to practice for programming contests is notgood enough anymore. Therefore, you decide to buy a ne
阅读全文
摘要:Some of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that doors. Because there is no ot
阅读全文
摘要:A Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has
阅读全文
摘要:题目1 : Font Size 题目1 : Font Size 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Steven loves reading book on his phone. The book he reads now consists of N par
阅读全文