yliu_cs
yliu_cs
全部文章
未归档
归档
标签
去牛客网
登录
/
注册
yliu_cs的博客
全部文章
/ 未归档
(共308篇)
洛谷 P3834 【模板】可持久化线段树 1(主席树)
Description: 这是个非常经典的主席树入门题——静态区间第K小 数据已经过加强,请使用主席树。同时请注意常数优化 如题,给定N个整数构成的序列,将对于指定的闭区间查询其区间内的第K小值。 Input: 第一行包含两个正整数N、M,分别表示序列的长度和查询的个数。 第二行包含N个...
2019-03-09
0
523
HDU 5306 Gorgeous Sequence(线段树)
Description: There is a sequence a a a of length ...
2019-03-08
0
431
BZOJ 1568 洛谷 P4254 [JSOI2008]Blue Mary开公司(李超线段树)
Description: 万事开头难,经营公司更是如此。开始的收益往往是很低的,不过随着时间的增长会慢慢变好。也就是说,对于一个金融顾问 i i ...
2019-03-08
0
458
洛谷 P3459 [POI2007]MEG-Megalopolis(dfs序+线段树)
Description: Byteotia has been eventually touched by globalisation, and so has Byteasar the Postman, who once roamedthe country lanes amidst sleepy h...
2019-03-08
0
423
2018-2019 ACM-ICPC Pacific Northwest Regional Contest (Div. 1)
题目链接 Problems: https://codeforces.com/gym/101982/attachments/download/7897/20182019-acmicpc-pacific-northwest-regional-contest-div-1-en.pdf Problem...
2019-03-07
0
610
CodeForces 145 E. Lucky Queries(线段树)
E. Lucky Queries Description: Petya loves lucky numbers very much. Everybody knows that lucky numbers are positive integers whose decimal record con...
2019-03-07
0
492
洛谷 P3373 【模板】线段树 2
Description: 如题,已知一个数列,你需要进行下面三种操作: 1.将某区间每一个数乘上x 2.将某区间每一个数加上x 3.求出某区间每一个数的和 Input: 第一行包含三个整数N、M、P,分别表示该数列数字的个数、操作的总个数和模数。 第二行包含N个用空格分隔的整数,其中第...
2019-03-06
0
409
2018 China Collegiate Programming Contest Final (CCPC-Final 2018)
A. Mischievous Problem Setter Description: Mr. Sheep is participating in a programming contest. Mr. Panda, the mischievous problem setter gives him ...
2019-03-01
0
805
CodeForces 887 E. Little Brother(计算几何+二分)
E. Little Brother Description: Masha’s little brother draw two points on a sheet of paper. After that, he draws some circles and gave the sheet to h...
2019-03-01
0
550
SGU 124 Broken line(计算几何)
Description: There is a closed broken line on a plane with sides parallel to coordinate axes, without self-crossings and self-contacts. The broken li...
2019-02-27
0
549
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页