
思维
文章平均质量分 87
隔阂0323
加速零到一百公里
展开
-
Tickets Gym - 101911F
Last nn days Monocarp used public transport to get to the university. He received a ticket with number titi during the ii-th day.Tickets’ numbers are six digit non-negative integers with possible lea...原创 2018-12-19 22:28:03 · 461 阅读 · 0 评论 -
K-Dimensional Foil II HihoCoder - 1835 思维+二分
"K-Dimensional Foil" is a dimensional weapon. Its function is quite easy: It can ascend a region in 3D space to K (K≥3) dimension. One can use it to give the enemy unexpected attack. It was called "Th...原创 2019-09-05 15:35:54 · 223 阅读 · 0 评论 -
Game 2019 年百度之星·程序设计大赛 - 初赛一 思维
GameTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 547Accepted Submission(s): 107Problem Description度度熊在玩一个好玩的游戏。游戏的主人公站在一根数轴上,他可...原创 2019-08-18 11:27:27 · 233 阅读 · 0 评论 -
原 2019牛客暑期多校训练营(第九场) D Knapsack Cryptosystem 超大背包(二分搜索)
链接:https://ac.nowcoder.com/acm/contest/889/D?&headNav=acm来源:牛客网时间限制:C/C++ 2秒,其他语言4秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述Amy asks Mr. B problem D. Please help Mr. B to...原创 2019-08-16 21:21:27 · 241 阅读 · 0 评论 -
StarCraft FZU - 2219 贪心+优先队列
ZB loves playing StarCraft and he likes Zerg most!One day, when ZB was playing SC2, he came up with an idea:He wants to change the queen’s ability, the queen’s new ability is to choose a worker at a...原创 2019-03-26 21:59:37 · 1114 阅读 · 1 评论 -
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 评论 -
High Card Low Card HYSBZ - 4391
Bessie the cow is a huge fan of card games, which is quite surprising, given her lack of opposable thumbs. Unfortunately, none of the other cows in the herd are good opponents. They are so bad, in fac...原创 2019-03-11 16:59:25 · 324 阅读 · 0 评论 -
Sierpiński Circumference Kattis - triangle
Polish mathematician Wacław Sierpiński(1882-1969) described the 2D geometric figure known as the Sierpińskitriangle as part of his work on set theory in 1915. The triangle, which is really an infini...原创 2019-03-11 13:22:14 · 190 阅读 · 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 评论 -
Dakar Rally ZOJ - 3699(思维+贪心)
DescriptionTheDakar Rallyis an annual Dakar Series rally raid type of off-road race, organized by the Amaury Sport Organization. The off-road endurance race consists of a series of routes. In diff...原创 2019-03-06 13:23:22 · 188 阅读 · 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 评论 -
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 评论 -
Spreading the Wealth UVA - 11300 思维+中位数
ProblemA Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has converted all of their properties to coins...原创 2019-09-05 15:46:49 · 202 阅读 · 0 评论