上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页
摘要: Problem Description When playing DotA with god-like rivals and pig-like team members, you have to face an embarrassing situation: All your teammates a 阅读全文
posted @ 2016-04-03 17:03 邻家那小孩儿 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Problem Description 某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭. 阅读全文
posted @ 2016-04-03 15:39 邻家那小孩儿 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Problem Description There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It needs some time, called setup time, for the machine to prepare processing 阅读全文
posted @ 2016-04-03 15:11 邻家那小孩儿 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Problem Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline 阅读全文
posted @ 2016-04-03 13:37 邻家那小孩儿 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Problem Description One measure of ``unsortedness'' in a sequence is the number of pairs of entries that are out of order with respect to each other. For instance, in the letter sequence ``DAABEC'' 阅读全文
posted @ 2016-04-03 11:20 邻家那小孩儿 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Problem Description A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = <x1, x2, 阅读全文
posted @ 2016-04-02 22:21 邻家那小孩儿 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Description A numeric sequence of ai is ordered ifa1 <a2 < ... < aN. Let the subsequence of the given numeric sequence (a1,a2, ..., aN) be any sequenc 阅读全文
posted @ 2016-04-02 21:35 邻家那小孩儿 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Description Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route that starts at the top and ends somewhere 阅读全文
posted @ 2016-04-02 19:56 邻家那小孩儿 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Problem Description The inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i < j and ai > aj. Fo 阅读全文
posted @ 2016-03-29 23:23 邻家那小孩儿 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Problem Description C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的 阅读全文
posted @ 2016-03-29 21:00 邻家那小孩儿 阅读(203) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页