
dp
文章平均质量分 76
YANGHONG_WA
这个作者很懒,什么都没留下…
展开
-
NOIP2013 普及组 车站分级
题意 一条单向的铁路线上,依次有编号为 1, 2, …, n 的 n 个火车站。每个火车站都有一个级别,最低为 1 级。现有若干趟车次在这条线路上行驶,每一趟都满足如下要求:如果这趟车次停靠了火车站 x,则始发站、终点站之间所有级别大于等于火车站 x 的都必须停靠。 (注意:起始站和终点站自然也算作事先已知需要停靠的站点) 例如,下表是 5 趟车次的运行情况。其中,前 4原创 2016-09-23 12:30:20 · 2612 阅读 · 0 评论 -
USACO2014Open Silver 奶牛的叫唤2.0
Problem 3: Odometer [Brian Dean, 2014]Farmer John’s cows are on a road trip! The odometer on their car displays an integer mileage value, starting at X (100 <= X <= 10^18) miles at the beginning of thei原创 2016-09-18 21:56:06 · 622 阅读 · 0 评论 -
HDU-3507-打印文章
HDU-3507-打印文章[Task][Task]:Zero has an old printer that doesn’t work well sometimes. As it is antique, he still like to use it to print articles. But it is too old to work for a long time and it will ce原创 2016-09-12 15:23:22 · 475 阅读 · 0 评论