线段树 a数组一开始全是0,每次增加1,我们可以发现不一定每一个a\[i]/b\[i]都是会影响答案的。 也就是说,只有a\[i] b\[i]才会影响答案,为了方便比较,我们可以把a的初始值变成b,然后每次区间加1相当于区间减1,当有某个数减为0,就代表影响了一次答案,我们可以暴力找到这个数,将他重 ...
分类:
其他好文 时间:
2019-05-21 19:11:35
阅读次数:
85
set维护 预处理很巧妙,对于完全被大范围包含的小范围我们不用考虑,要处理的只有不完全重合的区间。 因为一个区间可能被下一个区间的一部分包含,所以我们所能选择的数是在变化的,用一个集合来维护,每次取最小值即可。 在读入区间范围的时候,可以用pre数组来存每个区间r对应的最大的区间长度的l,然后再反着 ...
分类:
其他好文 时间:
2019-05-19 23:33:47
阅读次数:
225
10/05/2019 Assignment 3 — CSSE1001 Semester 1, 2019file:///Users/ben/university/tutoring/CSSE1001/2019s1/a3/2019s1a3/spec/dist/index.html 1/11Ninedraf ...
分类:
Web程序 时间:
2019-05-18 20:29:32
阅读次数:
101
论文标题: 来源/作者机构情况: Northwestern University Thirty-Second AAAI Conference on Artificial Intelligence, 2018, (2018) 作者链接: https://www.mccormick.northweste ...
分类:
其他好文 时间:
2019-04-28 23:12:10
阅读次数:
354
Journal Name:Journal of Proteome Research Issue:2019 March Shared by: Weining Zhao 1. Acetylome: Zhuo Zhou et al from Zhejiang University profiled the ...
分类:
其他好文 时间:
2019-04-10 20:27:57
阅读次数:
143
Description The Leiden University Library has millions of books. When a student wants to borrow a certain book, he usually submits an online loan form ...
分类:
其他好文 时间:
2019-03-29 23:52:44
阅读次数:
235
Description The Leiden University Library has millions of books. When a student wants to borrow a certain book, he usually submits an online loan form ...
分类:
其他好文 时间:
2019-03-16 20:47:16
阅读次数:
102
You are a coach at your local university. There are n n students under your supervision, the programming skill of the i i th student is a i ai . You h ...
分类:
其他好文 时间:
2019-03-10 00:08:35
阅读次数:
267
在看完《许纪霖教授在上海财经大学演讲——漫谈“大学生的四个Learn”》(下问简称《四l》)之后突然有点话想说。其实我对这篇文章有感的,所以想写这篇文章来说说看,我对四个learn的理解,以及对大学生的理解。 我在的学校名叫“福州大学至诚学院”(Fuzhou university Zhicheng ...
分类:
其他好文 时间:
2019-02-23 21:50:50
阅读次数:
221
Decentralized Privacy-preserving Timed Execution in Blockchain-based Smart Contract Platforms University of Pittsburgh & University of Pittsburgh 定时事务 ...
分类:
其他好文 时间:
2019-02-18 11:32:24
阅读次数:
204