摘要: F. TorCoder time limit per test 3 seconds memory limit per test 256 megabytes input input.txt output output.txt A boy named Leo doesn't miss a single 阅读全文
posted @ 2017-08-13 18:02 TRTTG 阅读(373) 评论(0) 推荐(0)
摘要: Jack has several beautiful diamonds, each of them is unique thus precious. To keep them safe, he wants to divide and store them in different locations 阅读全文
posted @ 2017-08-13 15:15 TRTTG 阅读(207) 评论(0) 推荐(0)
摘要: 题目描述 题目描述 题目描述 您需要写一种数据结构(可参考题目标题),来维护一个有序数列,其中需要提供以下操作: 查询k在区间内的排名 查询区间内排名为k的值 修改某一位值上的数值 查询k在区间内的前驱(前驱定义为严格小于x,且最大的数,若不存在输出-2147483647) 查询k在区间内的后继(后 阅读全文
posted @ 2017-08-13 11:05 TRTTG 阅读(634) 评论(0) 推荐(1)