摘要: 题意:有一块h*w 的广告牌用来贴广告 每个广告 1*w 并且优先贴于左上方 现在给出n个广告的n 问分别贴于第几行 贴不了输出 -1思路:把1-h 作为 l-r 值 套用线段树模版#include#include#include#include#include#include#i... 阅读全文
posted @ 2014-08-23 00:11 sola94 阅读(86) 评论(0) 推荐(0) 编辑