随笔分类 -  主席树

Lomsat gelral
摘要:Lomsat gelral http://codeforces.com/contest/600/problem/E time limit per test 2 seconds memory limit per test 256 megabytes input standard input outpu 阅读全文

posted @ 2019-05-17 21:13 Fighting_sh 阅读(253) 评论(0) 推荐(0)

Distance on the tree
摘要:Distance on the tree https://nanti.jisuanke.com/t/38229 DSM(Data Structure Master) once learned about tree when he was preparing for NOIP(National Oly 阅读全文

posted @ 2019-04-22 20:00 Fighting_sh 阅读(272) 评论(0) 推荐(0)

换个角度思考
摘要:换个角度思考 https://ac.nowcoder.com/acm/contest/275/E 题目描述 给定一个序列,有多次询问,每次查询区间里小于等于某个数的元素的个数 即对于询问 (l,r,x),你需要输出 的值 其中 [exp] 是一个函数,它返回 1 当且仅当 exp 成立,其中 exp 阅读全文

posted @ 2018-11-18 17:07 Fighting_sh 阅读(248) 评论(0) 推荐(0)

导航