
HDU
文章平均质量分 79
bblss123
浙江蒟蒻一只
展开
-
HDU 5382 GCD?LCM!
HDU 5382 GCD?LCM! Solution原创 2016-07-24 10:29:42 · 397 阅读 · 0 评论 -
HDU 5811 Colosseo
Description Mr. Chopsticks keeps N monsters, numbered from 1 to N. In order to train them, he holds N * (N - 1) / 2 competitions and asks the monsters to fight with each other. Any two monsters fight原创 2016-08-10 15:14:27 · 612 阅读 · 0 评论 -
HDU 5764 After a Sleepless Night
The yearly Multi-University Training Contest is coming, and ?? had already prepared an interesting and challenging problem for all those intelligent brains. However, when he told teammates about his “wonderful原创 2016-07-28 20:50:57 · 724 阅读 · 0 评论 -
HDU 5770 Treasure
?? has got a treasure map,the treasure map consists of N nodes,there are N-1 bidirectional roads, Each of them connects a pair of nodes,the N nodes are all connected by the N-1 bidirectional roads.?? can travel原创 2016-07-29 16:28:03 · 761 阅读 · 0 评论 -
HDU 5780 gcd
Little White learned the greatest common divisor, so she plan to solve a problem: given x,n,query ∑ni=1∑nj=1gcd(xi−1,xj−1)原创 2016-07-31 10:05:14 · 592 阅读 · 0 评论 -
HDU 5788 Level Up
The Arithmetic Coconut Median company has n employees. Every person has a direct supervisor except the boss. Boss’s number is 1. Everyone has a Ability Value Ai. The wage of person i is the Median of Ability Va原创 2016-08-03 10:13:06 · 738 阅读 · 0 评论 -
HDU 5728 PowMod
2016 Multi-University Training Contest 1 1006 Solution原创 2016-07-20 21:34:42 · 875 阅读 · 0 评论 -
HDU 5735 Born Slippy
2016 Multi-University Training Contest 2 1001 Solution原创 2016-07-22 13:58:30 · 333 阅读 · 0 评论 -
HDU 5726 GCD
2016 Multi-University Training Contest 1 1004 Solution原创 2016-07-22 14:17:47 · 477 阅读 · 0 评论 -
HDU 5758 Explorer Bo
DescriptionExplorer Bo likes exploring mazes around the world.Now he wants to explore a new maze. The maze has N rooms connected with N−1 roads of length 1 so that the maze looks like a tree. Explore原创 2016-07-26 22:21:11 · 697 阅读 · 0 评论 -
HDU 5815 Golden Week
The ACM kingdom has N cities, numbered from 1 to N. The capital is numbered 1. There are N – 1 roads each connecting two cities in the kingdom such that there exactly one path between any pair of cities.原创 2016-08-09 22:10:02 · 950 阅读 · 0 评论