2015年6月4日

uva 1428

摘要: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4174 1 #include 2 #include 3 #include 4 #include 5 us... 阅读全文

posted @ 2015-06-04 17:10 yifi 阅读(141) 评论(0) 推荐(0) 编辑

hduacm 2888 ----二维rmq

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2888模板题 直接用二维rmq读入数据时比较坑爹 cin 会超时 1 #include 2 #include 3 #include 4 5 using namespace std; 6 const int ... 阅读全文

posted @ 2015-06-04 15:50 yifi 阅读(149) 评论(0) 推荐(0) 编辑

hduacm 3183 rmq

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=3183问题等价与取N-M个数,每次取的时候保证后面能取的个数足够,并且取的数最小 查询最小用rmq 1 #include 2 #include 3 #include 4 #include 5 6 using na... 阅读全文

posted @ 2015-06-04 13:55 yifi 阅读(163) 评论(0) 推荐(0) 编辑

导航