随笔分类 -  2019acm寒假特辑

摘要: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 som 阅读全文
posted @ 2019-02-18 11:08 gidear 阅读(199) 评论(0) 推荐(0)
摘要:A - 1 CodeForces - 510AFox Ciel starts to learn programming. The first task is drawing a fox! However, that turns out to be too h... 阅读全文
posted @ 2019-02-16 16:53 gidear 阅读(126) 评论(0) 推荐(0)
摘要:C - A/B HDU - 1576要求(A/B)%9973,但由于A很大,我们只给出n(n=A%9973)(我们给定的A必能被B整除,且gcd(B,9973) = 1)。//题目这的gcd是 欧几里得算法Input数据的第一行是一个T,表示有T组数据。每组... 阅读全文
posted @ 2019-02-03 10:49 gidear 阅读(117) 评论(0) 推荐(0)
摘要: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) h 阅读全文
posted @ 2019-02-01 16:12 gidear 阅读(167) 评论(0) 推荐(0)
摘要:B - 2 CodeForces - 69AA guy named Vasya attends the final grade of a high school. One day Vasya decided to watch a match of his f... 阅读全文
posted @ 2019-02-01 15:58 gidear 阅读(227) 评论(0) 推荐(0)
摘要:C - 3 CodeForces - 271AIt seems like the year of 2013 came only yesterday. Do you know a curious fact? The year of 2013 is the fi... 阅读全文
posted @ 2019-02-01 15:50 gidear 阅读(124) 评论(0) 推荐(0)
摘要:D - 4 CodeForces - 337AThe end of the school year is near and Ms. Manana, the teacher, will soon have to say goodbye to a yet ano... 阅读全文
posted @ 2019-02-01 15:38 gidear 阅读(150) 评论(0) 推荐(0)
摘要:C - 3 HDU - 2059 (dp)C原题地址据说在很久很久以前,可怜的兔子经历了人生中最大的打击——赛跑输给乌龟后,心中郁闷,发誓要报仇雪恨,于是躲进了杭州下沙某农业园卧薪尝胆潜心修炼,终于练成了绝技,能够毫不休息得以恒定的速度(VR m/s)一直跑... 阅读全文
posted @ 2019-01-29 20:35 gidear 阅读(101) 评论(0) 推荐(0)
摘要:C - 3 CodeForces - 469AThere is a game called “I Wanna Be the Guy”, consisting of n levels. Little X and his friend Little Y are ... 阅读全文
posted @ 2019-01-29 20:33 gidear 阅读(119) 评论(0) 推荐(0)
摘要:集训进行了将近2个礼拜,这段时间以恢复性训练为主,我一直在密切关注大家的训练情况,目前为止,对大家的表现相当满意,首先是绝大部分队员的训练积极性很高,其次,都很遵守集训纪律,最后,老队员也起到了很好的带头作用,这里特别感谢为这次DP专题练习赛提供题目和测试数... 阅读全文
posted @ 2019-01-29 20:25 gidear 阅读(156) 评论(0) 推荐(0)
摘要:B - 2 CodeForces - 82ASheldon, Leonard, Penny, Rajesh and Howard are in the queue for a “Double Cola” drink vending machine; ther... 阅读全文
posted @ 2019-01-29 19:52 gidear 阅读(150) 评论(0) 推荐(0)
摘要:A - 1 CodeForces - 500A (签到)New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, ... 阅读全文
posted @ 2019-01-29 19:28 gidear 阅读(120) 评论(0) 推荐(0)
摘要:E - 5 HDU - 1078 (dp)FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each ... 阅读全文
posted @ 2019-01-29 17:51 gidear 阅读(132) 评论(0) 推荐(0)
摘要: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:... 阅读全文
posted @ 2019-01-29 12:55 gidear 阅读(170) 评论(0) 推荐(0)
摘要:G - 7 HDU - 1241 (dfs)G原题地址The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurv... 阅读全文
posted @ 2019-01-29 11:09 gidear 阅读(151) 评论(0) 推荐(0)
摘要:A - 1 CodeForces - 711AA原题地址ZS the Coder and Chris the Baboon are travelling to Udayland! To get there, they have to get on the s... 阅读全文
posted @ 2019-01-29 10:33 gidear 阅读(154) 评论(0) 推荐(0)
摘要:G - 7 HDU - 1241The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with... 阅读全文
posted @ 2019-01-28 11:42 gidear 阅读(124) 评论(0) 推荐(0)
摘要:C - 3 CodeForces - 451AAfter winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing ... 阅读全文
posted @ 2019-01-28 11:31 gidear 阅读(113) 评论(0) 推荐(0)