
Codeforces
文章平均质量分 84
隔阂0323
加速零到一百公里
展开
-
CodeForces - 340C - Tourist Problem
Iahub is a big fan of tourists. He wants to become a tourist himself, so he planned a trip. There are n destinations on a straight road that Iahub wants to visit. Iahub starts the excursion from kilom...原创 2018-12-03 09:25:26 · 241 阅读 · 0 评论 -
Fountains CodeForces - 799C 贪心+排序
Arkady plays Gardenscapes a lot. Arkady wants to build two new fountains. There arenavailable fountains, for each fountain its beauty and cost are known. There are two types of money in the game: co...原创 2019-03-25 18:58:19 · 169 阅读 · 0 评论 -
Amr and Chemistry CodeForces - 558C
Amr loves Chemistry, and specially doing experiments. He is preparing for a new interesting experiment.Amr hasndifferent types of chemicals. Each chemicalihas an initial volume ofailiters. For ...原创 2019-03-04 17:51:24 · 240 阅读 · 0 评论 -
Arthur and Table CodeForces - 557C
Arthur has bought a beautiful big table into his new flat. When he came home, Arthur noticed that the new table is unstable.In total the table Arthur bought has n legs, the length of the i-th leg is ...原创 2019-03-03 11:24:50 · 238 阅读 · 0 评论 -
CodeForces 555B Case of Fugitive 【排序+贪心】
Andrewid the Android is a galaxy-famous detective. He is now chasing a criminal hiding on the planet Oxa-5, the planet almost fully covered with water.The only dry land there is an archipelago of n n...原创 2019-03-03 10:23:38 · 339 阅读 · 0 评论 -
Planets CodeForces - 230D
Goa’uld Apophis captured Jack O’Neill’s team again! Jack himself was able to escape, but by that time Apophis’s ship had already jumped to hyperspace. But Jack knows on what planet will Apophis land. ...原创 2018-12-19 13:03:51 · 404 阅读 · 0 评论 -
Knight Tournament CodeForces - 357C
Hooray! Berl II, the king of Berland is making a knight tournament. The king has already sent the message to all knights in the kingdom and they in turn agreed to participate in this grand event.As f...原创 2018-12-19 10:49:31 · 206 阅读 · 0 评论 -
Chemical table CodeForces - 1013D
Innopolis University scientists continue to investigate the periodic table. There are n·m known elements and they form a periodic table: a rectangle with n rows and m columns. Each element can be desc...原创 2018-12-19 10:47:47 · 146 阅读 · 0 评论 -
Glider Gym - 101911B
A plane is flying at a constant height of h meters above the ground surface. Let’s consider that it is flying from the point (−109,h) to the point (109,h) parallel with Ox axis.A glider is inside the...原创 2018-12-20 20:13:25 · 363 阅读 · 0 评论 -
Coffee Break Gym - 101911A
Recently Monocarp got a job. His working day lasts exactly mm minutes. During work, Monocarp wants to drink coffee at certain moments: there are nn minutes a1,a2,…,ana1,a2,…,an, when he is able and wi...原创 2018-12-19 21:46:49 · 271 阅读 · 0 评论 -
Codeforces Round #524 (Div. 2) D - Olya and magical square
本文大部分思路转载自http://www.cnblogs.com/zquzjx/p/10014496.html,本人稍有改动Recently, Olya received a magical square with the size of 2n×2n2n×2n.It seems to her sister that one square is boring. Therefore, she as...转载 2018-12-03 22:04:21 · 383 阅读 · 0 评论 -
CodeForces - 340B Maximal Area Quadrilateral
Iahub has drawn a set of n points in the cartesian plane which he calls “special points”. A quadrilateral is a simple polygon without self-intersections with four sides (also called edges) and four ve...原创 2018-12-03 09:43:27 · 222 阅读 · 0 评论 -
Neko does Maths CodeForces - 1152C
Neko loves divisors. During the latest number theory lesson, he got an interesting exercise from his math teacher.Neko has two integersaaandbb. His goal is to find a non-negative integerkksuch ...原创 2019-04-26 22:25:10 · 171 阅读 · 0 评论