搜索
荣不翻身的咸鱼
这个作者很懒,什么都没留下…
展开
-
搜索
In order to understand early civilizations, archaeologists often study texts written in ancient languages.One such language, used in Egypt more than 3000 years ago, is based on characters called hiero...原创 2018-05-30 19:52:01 · 149 阅读 · 0 评论 -
Military Problem
In this problem you will have to help Berland army with organizing their command delivery system. There are nn officers in Berland army. The first officer is the commander of the army, and he does no...原创 2018-08-19 20:00:39 · 115 阅读 · 0 评论 -
Drainage Ditches
Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is covered by water for awhile and takes quite a long time to regrow. Thus, Fa...原创 2018-08-16 15:16:52 · 69 阅读 · 0 评论 -
Cheapest Palindrome
Keeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic ID tag that the system will read as the cows pass by...原创 2018-08-05 19:29:04 · 79 阅读 · 0 评论 -
Fire Net
Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a street or a piece of wall. A blockhouse is a small castle th...原创 2018-07-22 13:54:28 · 75 阅读 · 0 评论 -
Dating with girls(2)
If you have solved the problem Dating with girls(1).I think you can solve this problem too.This problem is also about dating with girls. Now you are in a maze and the girl you want to date with is als...原创 2018-07-22 13:51:58 · 79 阅读 · 0 评论 -
A计划
可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下勇士来拯救公主。不过公主早已习以为常,她深信智勇的骑士LJ肯定能将她救出。 现据密探所报,公主被关在一个两层的迷宫里,迷宫的入口是S(0,0,0),公主的位置用P表示,时空传输机用#表示,墙用*表示...原创 2018-07-21 13:59:31 · 128 阅读 · 0 评论 -
Tempter of the Bone
The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He realized that the bone ...原创 2018-07-21 13:53:56 · 84 阅读 · 0 评论 -
Eight
The 15-puzzle has been around for over 100 years; even if you don't know it by that name, you've seen it. It is constructed with 15 sliding tiles, each with a number from 1 to 15 on it, and all packed...原创 2018-07-21 13:50:12 · 215 阅读 · 0 评论 -
生日蛋糕
7月17日是Mr.W的生日,ACM-THU为此要制作一个体积为Nπ的M层生日蛋糕,每层都是一个圆柱体。 设从下往上数第i(1 <= i <= M)层蛋糕是半径为Ri, 高度为Hi的圆柱。当i < M时,要求Ri > Ri+1且Hi > Hi+1。 由于要在蛋糕上抹奶油,为尽可能节约经费,我们希望蛋糕外表面(最下一层的下底面除外)的面积Q最小。 令Q = Sπ ...原创 2018-07-26 15:49:27 · 124 阅读 · 0 评论 -
Unit Fraction Partition
A fraction whose numerator is 1 and whose denominator is a positive integer is called a unit fraction. A representation of a positive rational number p/q as the sum of finitely many unit fractions is ...原创 2018-07-26 15:48:10 · 137 阅读 · 0 评论 -
Free Candies
Little Bob is playing a game. He wants to win some candies in it - as many as possible. There are 4 piles, each pile contains N candies. Bob is given a basket which can hold at most 5 candies...原创 2018-07-29 16:48:08 · 90 阅读 · 0 评论 -
Escape
The students of the HEU are maneuvering for their military training. The red army and the blue army are at war today. The blue army finds that Little A is the spy of the red army, so Little A has to ...原创 2018-07-26 10:09:29 · 120 阅读 · 0 评论 -
The Pilots Brothers' refrigerator
The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator. There are 16 handles on the refrigerator door. Every handle can be in one of two...原创 2018-07-26 10:04:42 · 113 阅读 · 0 评论 -
Flip Game
Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other one is black and each piece is lying either it's bl...原创 2018-07-25 09:46:04 · 98 阅读 · 0 评论 -
Childhood dream
题目描述 你童年时期就有一个梦想,想要加入 ACM(Association of Calculation and Magic),今天,这个机会终于 来了。 但是 ACM 只想要哪些天赋异禀的人, 比如像 tourist,他们给了你一道题来检测你是否足够机智。 猜一个长度为 m 数字串,总共有 n 个提示串,解释如下: 8640 0A2B A 前面的数字说明与答案相比,有多少个位置...原创 2019-04-15 09:35:03 · 338 阅读 · 0 评论