Mogic(咳咳,懂得都懂)

Description 霍格兹茨膜法学校的学生蛤利·波特厌倦了平静的生活,在一次闲逛中,他发现了一本老旧的日记,日记中详细记载了伏地膜早年在校期间所研究的种种密术。其中,一种被称为「时间膜法」的密术吸引了蛤利...

Break Standard Weight ZOJ – 3706

The balance was the first mass measuring instrument invented. In its traditional form, it consists of a pivoted horizontal lever of equal length arms, called the beam, with a weighing pan, also cal...

Applications ZOJ – 3705

  Recently, the ACM/ICPC team of Marjar University decided to choose some new members from freshmen to take part in the ACM/ICPC competitions of the next season. As a traditional elite un...

免费馅饼 HDU – 1176 (动态规划 DP)

都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了地上当然就不能吃了,所...

2017-蓝桥杯-第三题-承压计算

标题:承压计算 X星球的高科技实验室中整齐地堆放着某批珍贵金属原料。 每块金属原料的外形、尺寸完全一致,但重量不同。 金属材料被严格地堆放成金字塔形。                              7 5 8 7 8 8 ...

Car HDU – 5935

被这道题坑了很久。。。。 期间犯了各种错误,一度开始怀疑人生。。 这道题的大意是: 一辆汽车再路上跑,而且速度不会减少。 给你几个数字,每个数字代表汽车在某个整数时间所在的位置,让你算出来...

(小坑)A == B ? HDU – 2054

Give you two numbers A and B, if A is equal to B, you should print "YES", or print "NO".Inputeach test case contains two numbers A and B. Outputfor each case, if A is equal to B, you should print ...