![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树状数组
文章平均质量分 70
寒江雪里独钓着的蓑笠翁
退役XCPCer,AI搬砖狗
展开
-
CF - 799C. Fountains - 树状数组/线段树
1.题目描述:C. Fountainstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputArkady plays Gardenscapes a lot.原创 2017-05-24 18:24:08 · 425 阅读 · 0 评论 -
【牛客多校第一场】J - Different Integers
一、题意概述给你 n (1≤n≤105)n (1≤n≤105)n\ (1\leq n\leq 10^5) 个数 a1...n (1≤ai≤n)a1...n (1≤ai≤n)a_{1...n}\ (1\leq a_i \leq n) 并且有 q (1≤q≤105)q (1≤q≤105)q\ (1\leq q\leq 10^5) 次询问,...原创 2018-07-19 18:53:13 · 354 阅读 · 0 评论