随笔分类 -  线段树

摘要:1 #include 2 using namespace std; 3 const int M = 1e5 + 10 ; 4 int n , m ; 5 pair a[M] ; 6 int rk[M] ; 7 struct node { 8 int l , r , sum ; 9 } n... 阅读全文
posted @ 2015-07-14 22:04 92度的苍蓝 阅读(231) 评论(0) 推荐(0)
摘要:Who Gets the Most Candies?Time Limit:5000MSMemory Limit:131072KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionNchildren are sitting in a circle ... 阅读全文
posted @ 2015-02-06 20:35 92度的苍蓝 阅读(282) 评论(0) 推荐(0)
摘要:Buy TicketsTime Limit:4000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionRailway tickets were difficult to buy around the L... 阅读全文
posted @ 2015-02-06 15:49 92度的苍蓝 阅读(170) 评论(0) 推荐(0)
摘要:BillboardTime Limit:8000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionAt the entrance to the university, there is a huge r... 阅读全文
posted @ 2015-02-06 09:30 92度的苍蓝 阅读(203) 评论(0) 推荐(0)
摘要:敌兵布阵Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直... 阅读全文
posted @ 2015-02-05 14:53 92度的苍蓝 阅读(141) 评论(0) 推荐(0)

http://images.cnblogs.com/cnblogs_com/Running-Time/724426/o_b74124f376fc157f352acc88.jpg