2019acm寒假特辑
Gidear
这个作者很懒,什么都没留下…
展开
-
acm寒假特辑 1月17日 CodeForces - 337A(简单排序/移动求前后差)
D - 4 CodeForces - 337A The end of the school year is near and Ms. Manana, the teacher, will soon have to say goodbye to a yet another class. She decided to prepare a goodbye present for her n student...原创 2019-02-01 15:38:29 · 149 阅读 · 0 评论 -
acm寒假特辑 1月25日 CodeForces - 510A(基础)
A - 1 CodeForces - 510A Fox Ciel starts to learn programming. The first task is drawing a fox! However, that turns out to be too hard for a beginner, so she decides to draw a snake instead. A snake is...原创 2019-02-16 16:52:50 · 81 阅读 · 0 评论 -
acm寒假特辑1月26日HDU - 2059 (dp)
C - 3 HDU - 2059 (dp) C原题地址 据说在很久很久以前,可怜的兔子经历了人生中最大的打击——赛跑输给乌龟后,心中郁闷,发誓要报仇雪恨,于是躲进了杭州下沙某农业园卧薪尝胆潜心修炼,终于练成了绝技,能够毫不休息得以恒定的速度(VR m/s)一直跑。兔子一直想找机会好好得教训一下乌龟,以雪前耻。 最近正值HDU举办50周年校庆,社会各大名流齐聚下沙,兔子也趁此机会向乌龟发起挑战。虽然...转载 2019-01-29 20:34:34 · 99 阅读 · 0 评论 -
acm寒假特辑1月20日 CodeForces - 469A
C - 3 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. Littl...原创 2019-01-29 20:33:26 · 99 阅读 · 0 评论 -
acm寒假特辑1月18日 HDU-1420(数学优化算法)
集训进行了将近2个礼拜,这段时间以恢复性训练为主,我一直在密切关注大家的训练情况,目前为止,对大家的表现相当满意,首先是绝大部分队员的训练积极性很高,其次,都很遵守集训纪律,最后,老队员也起到了很好的带头作用,这里特别感谢为这次DP专题练习赛提供题目和测试数据的集训队队长xhd同学. 特别高兴的是,跟随集训队训练的一批新队员表现非常好,进步也比较显著,特别是训练态度大大超出我的预期,我敢说,如果各...原创 2019-01-29 20:25:08 · 101 阅读 · 0 评论 -
acm寒假特辑1月20日 CodeForces - 82A
B - 2 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 (Sheldo...原创 2019-01-29 19:52:11 · 181 阅读 · 0 评论 -
acm寒假特辑1月24日 HDU - 2191(背包)/CodeForces - 500A
C - 3 HDU - 2191 急!灾区的食物依然短缺! 为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格不等,并且只能整袋购买。 请问:你用有限的资金最多能采购多少公斤粮食呢? 后记: 人生是一个充满了变数的生命过程,天灾、人祸、病痛是我们生命历程中不可预知的威胁。 月有阴晴圆缺,人有旦夕祸福,未来对...原创 2019-01-29 19:27:39 · 121 阅读 · 0 评论 -
acm寒假特辑1月25日HDU - 1078 (dp)
E - 5 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 < n...原创 2019-01-29 17:50:31 · 140 阅读 · 0 评论 -
acm寒假特辑1月26日HDU - 2181(dfs)
A - 1 CodeForces - 509A (签到) A原题地址 An n × n table a is defined as follows: The first row and the first column contain ones, that is: ai, 1 = a1, i = 1 for all i = 1, 2, …, n. Each of the remaining num...原创 2019-01-29 12:54:45 · 167 阅读 · 0 评论 -
acm寒假特辑1月22日HDU - 1241 (dfs)
G - 7 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 gri...原创 2019-01-29 11:09:25 · 98 阅读 · 0 评论 -
acm寒假特辑1月28日HDU - 1422(dp)/CodeForces - 711A
A - 1 CodeForces - 711A A原题地址 ZS the Coder and Chris the Baboon are travelling to Udayland! To get there, they have to get on the special IOI bus. The IOI bus has n rows of seats. There are 4 seats in...原创 2019-01-29 10:33:25 · 140 阅读 · 0 评论 -
acm寒假特辑 2月2日 HDU - 1576(数学/模运算/gcd)
C - A/B HDU - 1576 要求(A/B)%9973,但由于A很大,我们只给出n(n=A%9973)(我们给定的A必能被B整除,且gcd(B,9973) = 1)。 Input 数据的第一行是一个T,表示有T组数据。 每组数据有两个数n(0 <= n < 9973)和B(1 <= B &am原创 2019-02-03 10:49:13 · 166 阅读 · 0 评论 -
acm寒假特辑1月21日 HDU - 1241
G - 7 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 g...原创 2019-01-28 11:41:48 · 106 阅读 · 0 评论 -
acm寒假特辑1月19日 CodeForces - 451A
C - 3 CodeForces - 451A After winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing a game on a grid made of n horizontal and m vertical sticks. An inters...原创 2019-01-28 11:30:50 · 183 阅读 · 0 评论 -
acm寒假特辑 1月18日 CodeForces - 580A(基础)
C - 3 CodeForces - 580A Kefa decided to make some money doing business on the Internet for exactly n days. He knows that on the i-th day (1 ≤ i ≤ n) he makes ai money. Kefa loves progress, that’s why ...原创 2019-02-01 16:11:33 · 122 阅读 · 0 评论 -
acm寒假特辑 1月17日 CodeForces - 69A(基础)
B - 2 CodeForces - 69A A guy named Vasya attends the final grade of a high school. One day Vasya decided to watch a match of his favorite hockey team. And, as the boy loves hockey very much, even more...原创 2019-02-01 15:58:08 · 144 阅读 · 0 评论 -
acm寒假特辑 1月17日 CodeForces - 271A(基础)
C - 3 CodeForces - 271A It seems like the year of 2013 came only yesterday. Do you know a curious fact? The year of 2013 is the first year after the old 1987 with only distinct digits. Now you are sug...原创 2019-02-01 15:49:30 · 191 阅读 · 0 评论 -
acm寒假特辑 1月19日 CodeForces - 472A (模拟/数学取巧)
D - 4 CodeForces - 472A One way to create a task is to learn from math. You can generate some random math statement or modify some theorems to get something new and build a new task from that. For exa...原创 2019-02-18 11:08:00 · 122 阅读 · 0 评论