
集训
weixin_43957652
这个作者很懒,什么都没留下…
展开
-
CodeForces - 144A-day-3-A
问题来源CodeForces - 144A 问题描述A Ministry for Defense sent a general to inspect the Super Secret Military Squad under the command of the Colonel SuperDuper. Having learned the news, the colonel ordered ...原创 2019-01-24 11:19:29 · 140 阅读 · 0 评论 -
HDU-1495-day5H
问题来源HDU-1495问题描述大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (S<101)毫升 (正好装满一瓶) ,它们三个之间可以相互倒可乐 (都是没有...原创 2019-01-28 12:25:04 · 101 阅读 · 0 评论 -
HDU-2067-day5J
问题来源HDU-2067问题描述小兔的叔叔从外面旅游回来给她带来了一个礼物,小兔高兴地跑回自己的房间,拆开一看是一个棋盘,小兔有所失望。不过没过几天发现了棋盘的好玩之处。从起点(0,0)走到终点(n,n)的最短路径数是C(2n,n),现在小兔又想如果不穿越对角线(但可接触对角线上的格点),这样的路径数有多少?小兔想了很长时间都没想出来,现在想请你帮助小兔解决这个问题,对于你来说应该不难吧!...原创 2019-01-28 12:47:15 · 111 阅读 · 0 评论 -
HDU - 1422-day12C
问题来源HDU - 1422 问题描述世界杯结束了,意大利人连本带利的收回了法国人6年前欠他们的债,捧起了大力神杯,成就了4星意大利.世界杯虽然结束了,但是这界世界杯给我们还是留下许多值得回忆的东西.比如我们听到了黄名嘴的3分钟激情解说,我们懂得了原来可以向同一个人出示3张黄牌,我们还看到了齐达内的头不仅能顶球还能顶人…………介于有这么多的精彩,xhd决定重温德国世界杯,当然只是去各个承...原创 2019-01-29 15:47:28 · 97 阅读 · 0 评论 -
HDU - 1264
问题来源添加链接描述问题描述Your input is a series of rectangles, one per line. Each rectangle is specified as two points(X,Y) that specify the opposite corners of a rectangle. All coordinates will be integers i...原创 2019-01-29 16:03:08 · 120 阅读 · 0 评论 -
UVA - 424-day3I
问题来源UVA - 424问题描述One of the first users of BIT’s new supercomputer was Chip Diller. He extended his exploration ofpowers of 3 to go from 0 to 333 and he explored taking various sums of those numbe...原创 2019-01-30 00:40:05 · 92 阅读 · 0 评论 -
HDU - 1576-day4i
问题来源HDU - 1576问题描述要求(A/B)%9973,但由于A很大,我们只给出n(n=A%9973)(我们给定的A必能被B整除,且gcd(B,9973) = 1)。输入数据的第一行是一个T,表示有T组数据。每组数据有两个数n(0 &lt;= n &lt; 9973)和B(1 &lt;= B &lt;= 10^9)输出对应每组数据输出(A/B)%9973。例子input`...原创 2019-01-30 01:08:42 · 157 阅读 · 0 评论 -
HDU - 1078-day8E
问题来源HDU - 1078问题描述FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= p < n and 0 <= q &l...原创 2019-01-30 06:18:15 · 140 阅读 · 0 评论 -
HDU - 1075-day9G
问题来源HDU - 1075问题描述Ignatius is so lucky that he met a Martian yesterday. But he didn’t know the language the Martians use. The Martian gives him a history book of Mars and a dictionary when it leave...原创 2019-01-30 07:46:08 · 119 阅读 · 0 评论 -
POJ - 3087-day3E
问题来源POJ - 3087问题描述A common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two stacks of poker chips, S1 and S2, each stack c...原创 2019-01-30 08:48:26 · 115 阅读 · 0 评论 -
POJ - 2387-day10J
问题来源POJ - 2387问题描述Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Bessie needs her beauty sleep, ...原创 2019-01-27 00:00:20 · 135 阅读 · 0 评论 -
HDU - 1213-day10G
问题来源HDU - 1213问题描述Today is Ignatius’ birthday. He invites a lot of friends. Now it’s dinner time. Ignatius wants to know how many tables he needs at least. You have to notice that not all the frien...原创 2019-01-26 23:52:29 · 115 阅读 · 0 评论 -
HDU-1166-day8J
问题来源HDU-1166问题描述C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的人数都有可能发生变动,可能增加或减少若干人手,但这些都逃不过C国的监视。中央...原创 2019-01-26 00:39:08 · 108 阅读 · 0 评论 -
CodeForces - 82A-day3-B
问题来源CodeForces - 82A问题描述Sheldon, Leonard, Penny, Rajesh and Howard are in the queue for a “Double Cola” drink vending machine; there are no other people in the queue. The first one in the queue (Sh...原创 2019-01-24 11:43:37 · 317 阅读 · 0 评论 -
CodeForces - 469A -day3-C
问题来源CodeForces - 469A 问题描述There is a game called “I Wanna Be the Guy”, consisting of n levels. Little X and his friend Little Y are addicted to the game. Each of them wants to pass the whole game....原创 2019-01-24 12:01:43 · 133 阅读 · 0 评论 -
POJ - 3984-day3H
问题来源POJ - 3984 问题描述定义一个二维数组:int maze[5][5] = {0, 1, 0, 0, 0,0, 1, 0, 1, 0,0, 0, 0, 0, 0,0, 1, 1, 1, 0,0, 0, 0, 1, 0,};它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖着走,不能斜着走,要求编程序找出从左上角到右下角的最短路线。输入...原创 2019-01-25 23:45:35 · 88 阅读 · 0 评论 -
HDU - 1241-day4G
问题来源HDU - 1241问题描述The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a...原创 2019-01-25 23:51:19 · 105 阅读 · 0 评论 -
HDU - 2049-day6I
问题来源HDU - 2049问题描述国庆期间,省城HZ刚刚举行了一场盛大的集体婚礼,为了使婚礼进行的丰富一些,司仪临时想出了有一个有意思的节目,叫做"考新郎",具体的操作是这样的:首先,给每位新娘打扮得几乎一模一样,并盖上大大的红盖头随机坐成一排;然后,让各位新郎寻找自己的新娘.每人只准找一个,并且不允许多人找一个.最后,揭开盖头,如果找错了对象就要当众跪搓衣板…看来做新郎也不是容...原创 2019-01-26 00:00:41 · 102 阅读 · 0 评论 -
HDU - 2068-day8I
问题来源HDU - 2068问题描述今年暑假杭电ACM集训队第一次组成女生队,其中有一队叫RPG,但做为集训队成员之一的野骆驼竟然不知道RPG三个人具体是谁谁。RPG给他机会让他猜猜,第一次猜:R是公主,P是草儿,G是月野兔;第二次猜:R是草儿,P是月野兔,G是公主;第三次猜:R是草儿,P是公主,G是月野兔;…可怜的野骆驼第六次终于把RPG分清楚了。由于RPG的带动,做ACM的女生越来越多,...原创 2019-01-26 00:10:15 · 101 阅读 · 0 评论 -
HDU - 1072-day9F
问题来源HDU - 1072问题描述Ignatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth has an exit, Ignatius should get out of the labyrinth before the bomb e...原创 2019-01-26 00:19:36 · 96 阅读 · 0 评论 -
HDU - 1754-day9I
问题来源HDU - 1754问题描述很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。输入本题目包含多组测试,请处理到文件结束。在每个测试的第一行,有两个正整数 N 和 M ( 0<N<=20000...原创 2019-01-26 00:25:46 · 93 阅读 · 0 评论 -
UVA - 11389-day9H
问题来源UVA - 11389问题描述In a city there are n bus drivers. Also there are n morning bus routes and n afternoon bus routes withvarious lengths. Each driver is assigned one morning route and one evening ...原创 2019-01-26 00:31:57 · 114 阅读 · 0 评论 -
POJ - 1611-day3-F
问题来源POJ - 1611问题描述Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the ...原创 2019-01-30 08:54:57 · 125 阅读 · 0 评论