0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-24 13:28:48 +00:00
Commit Graph

641 Commits

Author SHA1 Message Date
017a3770b3
P4777 【模板】扩展中国剩余定理(EXCRT)
https://www.luogu.com.cn/record/92007494
2022-10-29 11:22:01 +08:00
719bb0ec83
P3384 【模板】轻重链剖分/树链剖分
https://www.luogu.com.cn/record/92005288
2022-10-29 11:10:45 +08:00
28b2dc42c4
P3385 【模板】负环
https://www.luogu.com.cn/record/92000229
2022-10-29 10:44:48 +08:00
7bdcaf5f2c
P3834 【模板】可持久化线段树 2
https://www.luogu.com.cn/record/91986713
2022-10-29 09:26:29 +08:00
cf1446b12c
P3371 【模板】单源最短路径(弱化版)
https://www.luogu.com.cn/record/91965144
2022-10-28 22:15:17 +08:00
4895da7d09
P1886 滑动窗口 /【模板】单调队列
https://www.luogu.com.cn/record/91964513
2022-10-28 22:11:01 +08:00
e72bb88470
P5788 【模板】单调栈
https://www.luogu.com.cn/record/91963289
2022-10-28 22:04:10 +08:00
004deb5af9
P4779 【模板】单源最短路径(标准版)
https://www.luogu.com.cn/record/91959107
2022-10-28 21:42:31 +08:00
c968af6487
P3386 【模板】二分图最大匹配
https://www.luogu.com.cn/record/91953452
2022-10-28 21:18:23 +08:00
f38e430d75
P3379 【模板】最近公共祖先(LCA)
https://www.luogu.com.cn/record/91945740
2022-10-28 20:46:59 +08:00
a88a53c97a
P3376 【模板】网络最大流
https://www.luogu.com.cn/record/91932491
2022-10-28 19:56:00 +08:00
17e280db2a
P3375 【模板】KMP字符串匹配
https://www.luogu.com.cn/record/91905614
2022-10-28 17:27:23 +08:00
d7c1104f8b
P3388 【模板】割点(割顶)
https://www.luogu.com.cn/record/91855549
2022-10-28 11:03:46 +08:00
e93b52517e
P3811 【模板】乘法逆元
https://www.luogu.com.cn/record/91843036
2022-10-28 09:39:07 +08:00
af5bf736f8
P3865 【模板】ST 表
https://www.luogu.com.cn/record/91841060
2022-10-28 09:23:22 +08:00
3e1b4e4ced
P7515 [省选联考 2021 A 卷] 矩阵游戏
https://www.luogu.com.cn/record/90003104
2022-10-15 16:32:05 +08:00
0b2f9f0023
P5944 [POI2002]出圈游戏
https://www.luogu.com.cn/record/89770871
2022-10-14 07:30:45 +08:00
f05c95b8e3
P4777 【模板】扩展中国剩余定理(EXCRT)
https://www.luogu.com.cn/record/89726444
2022-10-13 19:48:48 +08:00
a5e7896fd9
P3868 [TJOI2009] 猜数字
https://www.luogu.com.cn/record/89550624
2022-10-12 11:35:54 +08:00
059ef4d859
P3579 [POI2014]PAN-Solar Panels
https://www.luogu.com.cn/record/89548822
2022-10-12 11:13:31 +08:00
32d290e513
P5358 [SDOI2019]快速查询
https://www.luogu.com.cn/record/89538389
2022-10-12 08:17:27 +08:00
07d3deb8e2
P5431 【模板】乘法逆元 2
https://www.luogu.com.cn/record/89461048
2022-10-11 16:26:23 +08:00
7c0dfb9906
P4571 [JSOI2009] 瓶子和燃料
https://www.luogu.com.cn/record/89424858
2022-10-11 09:37:28 +08:00
77bdd51811
P2520 [HAOI2011]向量
https://www.luogu.com.cn/record/89364875
2022-10-10 18:55:10 +08:00
7d55593096
P2455 [SDOI2006]线性方程组
https://www.luogu.com.cn/record/89160212
2022-10-08 18:39:59 +08:00
73b55d8552
P4140 奇数国
https://www.luogu.com.cn/record/89121079
2022-10-08 11:49:31 +08:00
b76fc18725
P4744 [Wind Festival]Iron Man
https://www.luogu.com.cn/record/89092564
2022-10-07 21:40:50 +08:00
8df881adf0
P1792 [国家集训队]种树
https://www.luogu.com.cn/record/88801338
2022-10-06 08:35:39 +08:00
f2d3f9b475
P4025 [PA2014]Bohater
https://www.luogu.com.cn/record/88686632
2022-10-05 14:06:04 +08:00
b921ccfe85
P3620 [APIO/CTSC2007] 数据备份
https://www.luogu.com.cn/record/88613869
2022-10-04 21:40:39 +08:00
fafbbfd4f4
P5656 【模板】二元一次不定方程 (exgcd)
https://www.luogu.com.cn/record/88197267
2022-10-02 13:40:55 +08:00
713d5e6156
B2029 大象喝水
https://www.luogu.com.cn/record/88083047
2022-10-01 15:11:15 +08:00
bcb6761f4d
P2508 [HAOI2008]圆上的整点
https://www.luogu.com.cn/record/88070866
2022-10-01 13:38:18 +08:00
b4f738178b
P4397 [JLOI2014]聪明的燕姿
https://www.luogu.com.cn/record/88041741
2022-10-01 09:14:35 +08:00
477b00bccd
P3808 【模板】AC 自动机(简单版)
https://www.luogu.com.cn/record/87931577
2022-09-29 20:46:22 +08:00
bdacaf108f
P5446 [THUPC2018]绿绿和串串
https://www.luogu.com.cn/record/87863322
2022-09-29 08:31:59 +08:00
af265431c4
P2503 [HAOI2006]均分数据
https://www.luogu.com.cn/record/87697641
2022-09-27 10:43:22 +08:00
1cdfcd8653
P1337 [JSOI2004] 平衡点 / 吊打XXX
https://www.luogu.com.cn/record/87691240
2022-09-27 08:18:06 +08:00
964ead51b2
Move Codeforces Codes 2022-09-25 20:39:35 +08:00
3c491fbe2c
P1360 [USACO07MAR]Gold Balanced Lineup G
https://www.luogu.com.cn/record/87243916
2022-09-23 07:48:11 +08:00
cc65e1dbae
P1712 [NOI2016] 区间
https://www.luogu.com.cn/record/87172981
2022-09-22 11:44:17 +08:00
ff6dda0aec
P3469 [POI2008]BLO-Blockade
https://www.luogu.com.cn/record/87072207
2022-09-20 21:38:15 +08:00
e0e8d0ca8f
P3520 [POI2011] SMI-Garbage
https://www.luogu.com.cn/record/87053341
2022-09-20 19:21:30 +08:00
95ce0ec323
T275388 退休计划 II
https://www.luogu.com.cn/record/86998689
2022-09-19 21:14:08 +08:00
904ab965c5
T275386 录像
https://www.luogu.com.cn/record/86965128
2022-09-19 14:34:46 +08:00
f738250c11
P3605 [USACO17JAN]Promotion Counting P
https://www.luogu.com.cn/record/86666473
2022-09-15 15:41:28 +08:00
226513485c
P4269 [USACO18FEB]Snow Boots G
https://www.luogu.com.cn/record/86653460
2022-09-15 11:39:16 +08:00
9896659358
P3875 [TJOI2010]被污染的河流
https://www.luogu.com.cn/record/86620351
2022-09-14 20:02:52 +08:00
c71610ef47
P3565 [POI2014]HOT-Hotels
https://www.luogu.com.cn/record/86610786
2022-09-14 18:28:52 +08:00
c0d8b1dd63
P2761 软件补丁问题
https://www.luogu.com.cn/record/86560789
2022-09-13 20:47:21 +08:00
2ec62c8df4
P1642 规划
https://www.luogu.com.cn/record/86538400
2022-09-13 16:59:56 +08:00
96ccc02052
P4322 [JSOI2016]最佳团体
https://www.luogu.com.cn/record/86535205
2022-09-13 16:26:05 +08:00
0b2d1d4c45
P2458 [SDOI2006]保安站岗
https://www.luogu.com.cn/record/86522118
2022-09-13 11:42:09 +08:00
6746568778
P3592 [POI2015] MYJ
https://www.luogu.com.cn/record/86488210
2022-09-12 19:39:53 +08:00
fff2f5cd1d
P3607 [USACO17JAN]Subsequence Reversal P
https://www.luogu.com.cn/record/86419056
2022-09-12 08:51:28 +08:00
3e05d6d6b5
P4766 [CERC2014]Outer space invaders
https://www.luogu.com.cn/record/86410520
2022-09-11 22:30:52 +08:00
d8e347f8ab
P3622 [APIO2007] 动物园
https://www.luogu.com.cn/record/86311624
2022-09-10 22:19:33 +08:00
237c953596
P4158 [SCOI2009]粉刷匠
https://www.luogu.com.cn/record/86131090
2022-09-08 19:53:43 +08:00
85613cc078
P1725 琪露诺
https://www.luogu.com.cn/record/86099060
2022-09-08 10:20:15 +08:00
5ecac15e1e
P4127 [AHOI2009]同类分布
https://www.luogu.com.cn/record/86021113
2022-09-06 20:48:57 +08:00
7f893ac0ff
P2051 [AHOI2009] 中国象棋
https://www.luogu.com.cn/record/85999692
2022-09-06 16:54:42 +08:00
2a7f05b968
P2339 [USACO04OPEN]Turning in Homework G
https://www.luogu.com.cn/record/85983366
2022-09-06 11:06:26 +08:00
aaba30fc60
P4377 [USACO18OPEN] Talent Show G
https://www.luogu.com.cn/record/85978845
2022-09-06 08:55:24 +08:00
d2aea3e36a
P2986 [USACO10MAR] Great Cow Gathering G
https://www.luogu.com.cn/problem/P2986
2022-09-05 19:43:35 +08:00
d08435a24b
P4317 花神的数论题
https://www.luogu.com.cn/record/85935689
2022-09-05 14:46:37 +08:00
fe54a7c18c
P2657 [SCOI2009] windy 数
https://www.luogu.com.cn/record/85898393
2022-09-04 19:53:45 +08:00
84827e9628
P3154 [CQOI2009]循环赛
https://www.luogu.com.cn/record/85829701
2022-09-04 10:27:59 +08:00
5b884a0621
P2602 [ZJOI2010] 数字计数
https://www.luogu.com.cn/record/85802739
2022-09-03 20:49:00 +08:00
70c6f63ae4
CF1041C Coffee Break
https://www.luogu.com.cn/record/85790890
2022-09-03 19:14:53 +08:00
d87e2aabef
UVA307 小木棍 Sticks
https://www.luogu.com.cn/record/85779684
2022-09-03 17:15:50 +08:00
2f7eb7552b
P1120 小木棍
https://www.luogu.com.cn/record/85778864
2022-09-03 17:08:35 +08:00
5c7ea9cfd8
P1092 [NOIP2004 提高组] 虫食算
https://www.luogu.com.cn/record/85702831
2022-09-02 19:48:01 +08:00
2d161dd033
P4105 [HEOI2014] 南园满地堆轻絮
https://www.luogu.com.cn/record/85674001
2022-09-02 11:13:40 +08:00
bacfa27ddb
P3076 [USACO13FEB]Taxi G
https://www.luogu.com.cn/record/85669174
2022-09-02 09:26:40 +08:00
b07ef359ca
P3112 [USACO14DEC]Guard Mark G
https://www.luogu.com.cn/record/85668298
2022-09-02 08:55:23 +08:00
ef580a25a7
P3957 [NOIP2017 普及组] 跳房子
https://www.luogu.com.cn/record/85667205
2022-09-02 07:45:59 +08:00
a0a0b5d506
P2498 [SDOI2012]拯救小云公主
https://www.luogu.com.cn/record/85636345
2022-09-01 16:39:34 +08:00
2bbd7d5523
T263133 拆网线
https://www.luogu.com.cn/record/85559526
2022-08-31 14:20:42 +08:00
40c8a82aeb
T263132 购物
https://www.luogu.com.cn/record/85551702
2022-08-31 08:26:21 +08:00
09be17a090
T263082 区间(range)
https://www.luogu.com.cn/record/85504975
2022-08-30 15:15:56 +08:00
2ad54c40fb
T262837 简单的操作(merge)
https://www.luogu.com.cn/record/85457101
2022-08-29 20:04:10 +08:00
7ffea96f82
T263102 函数(ihp)
https://www.luogu.com.cn/record/85427845
2022-08-29 14:32:54 +08:00
6db75723ce
P8365 [LNOI2022] 吃
https://www.luogu.com.cn/record/85390253
2022-08-28 21:32:08 +08:00
f062b85fe4
CF1166E The LCMs Must be Large
https://www.luogu.com.cn/record/84597793
2022-08-20 21:01:43 +08:00
eb9b66ed48
P3452 [POI2007]BIU-Offices
https://www.luogu.com.cn/record/84334446
2022-08-18 21:13:55 +08:00
71e84c055e
P4824 [USACO15FEB] Censoring S
https://www.luogu.com.cn/record/84303219
2022-08-18 17:23:12 +08:00
24558c0c98
P1121 环状最大两段子段和
https://www.luogu.com.cn/record/84279869
2022-08-18 15:29:13 +08:00
6654bdef09
P3449 [POI2006]PAL-Palindromes
https://www.luogu.com.cn/record/84232432
2022-08-18 10:08:18 +08:00
ac163af77c
P3059 [USACO12NOV]Concurrently Balanced Strings G
https://www.luogu.com.cn/record/84217751
2022-08-18 07:50:38 +08:00
b2241462af
P4135 作诗
https://www.luogu.com.cn/record/84184013
2022-08-17 19:41:41 +08:00
b363548d85
P2698 [USACO12MAR]Flowerpot S
https://www.luogu.com.cn/record/84127155
2022-08-17 14:01:23 +08:00
51efd8f0d0
P1565 牛宫
https://www.luogu.com.cn/record/84050544
2022-08-16 19:26:48 +08:00
bf13736cc0
CF444C DZY Loves Colors
https://www.luogu.com.cn/record/84046563
2022-08-16 18:57:22 +08:00
f51cbe62a9
P1565 牛宫
https://www.luogu.com.cn/record/83999075
2022-08-16 15:35:48 +08:00
581447d2c4
P3105 [USACO14OPEN]Fair Photography S
https://www.luogu.com.cn/record/83996634
2022-08-16 14:17:14 +08:00
76473772cf
P4177 [CEOI2008] order
https://www.luogu.com.cn/record/83936500
2022-08-15 22:07:43 +08:00
89afe5ac91
P2617 Dynamic Rankings
https://www.luogu.com.cn/record/83137661
2022-08-09 22:13:42 +08:00
83d0904c97
P8470 [Aya Round 1 E] 乙(two)
https://www.luogu.com.cn/record/82833783
2022-08-07 17:25:23 +08:00
014ab1be4d
P8471 [Aya Round 1 F] 琪露诺的选择题
https://www.luogu.com.cn/record/82831979
2022-08-07 17:13:34 +08:00
4d36d6cd8e
P8469 [Aya Round 1 D] 文文的数学游戏
https://www.luogu.com.cn/record/82831636
2022-08-07 17:12:23 +08:00
790ac459f1
P8468 [Aya Round 1 C] 文文的构造游戏
https://www.luogu.com.cn/record/82831524
2022-08-07 17:11:22 +08:00
656d8b108f
P8467 [Aya Round 1 B] 幻想乡麻将游戏
https://www.luogu.com.cn/record/82831401
2022-08-07 17:10:41 +08:00
82f4ab0c86
P8466 [Aya Round 1 A] 幻想乡扑克游戏
https://www.luogu.com.cn/record/82831302
2022-08-07 17:09:57 +08:00
dc1c7f7f4c
T258621 [Aya Round 1 F] 琪露诺的选择题
https://www.luogu.com.cn/record/82821621
2022-08-07 16:24:06 +08:00
2e465457b6
T258418 [Aya Round 1 D] 文文的数学游戏
https://www.luogu.com.cn/record/82796877
2022-08-07 14:35:17 +08:00
dd86807035
T258480 [Aya Round 1 C] 文文的构造游戏
https://www.luogu.com.cn/record/82793996
2022-08-07 14:23:16 +08:00
06e8fe6606
T258573 [Aya Round 1 B] 幻想乡麻将游戏
https://www.luogu.com.cn/record/82791696
2022-08-07 14:13:44 +08:00
bba92de9e1
T258478 [Aya Round 1 A] 幻想乡扑克游戏
https://www.luogu.com.cn/record/82790224
2022-08-07 14:07:16 +08:00
fcc16cfeb0
P3386 【模板】二分图最大匹配
https://www.luogu.com.cn/record/82488181
2022-08-04 22:18:05 +08:00
ef88d92c7b
P1525 [NOIP2010 提高组] 关押罪犯
https://www.luogu.com.cn/record/82475050
2022-08-04 20:36:09 +08:00
b0cbb43a3f
P5177 签到
https://www.luogu.com.cn/record/81665615
2022-07-29 15:28:28 +08:00
5425a3bf86
CF27E Number With The Given Amount Of Divisors
https://www.luogu.com.cn/record/81585090
2022-07-28 21:25:50 +08:00
7f9094e5ec
CF869C The Intriguing Obsession
https://www.luogu.com.cn/record/81299371
2022-07-26 21:52:08 +08:00
5e22789bf8
P3380 【模板】二逼平衡树(树套树)
https://www.luogu.com.cn/record/81169175
2022-07-26 08:21:50 +08:00
d3eb18bfdd
P3645 [APIO2015] 雅加达的摩天楼
https://www.luogu.com.cn/record/81011789
2022-07-24 20:45:05 +08:00
c436e4bf97
P8444 不等价交换法则
https://www.luogu.com.cn/record/80991984
2022-07-24 17:57:24 +08:00
5ba81b4eba
P8443 gcd.
https://www.luogu.com.cn/record/80990925
2022-07-24 17:50:15 +08:00
99841026f7
P8446 虹色的北斗七星
https://www.luogu.com.cn/record/80990615
2022-07-24 17:48:12 +08:00
60c822c3e0
T249186 gcd.
https://www.luogu.com.cn/record/80961239
2022-07-24 15:12:23 +08:00
813aade458
CF730I Olympiad in Programming and Sports
https://www.luogu.com.cn/record/80729303
2022-07-22 17:14:48 +08:00
47aae6d79a
P3773 [CTSC2017]吉夫特
https://www.luogu.com.cn/record/80299079
2022-07-19 20:30:33 +08:00
b634d12e32
P2398 GCD SUM
https://www.luogu.com.cn/record/80288917
2022-07-19 19:40:13 +08:00
1093bfa649
P4071 [SDOI2016]排列计数
https://www.luogu.com.cn/record/80167680
2022-07-19 07:45:08 +08:00
826377f687
P1306 斐波那契公约数
https://www.luogu.com.cn/record/80117613
2022-07-18 17:18:15 +08:00
e318a6bac2
P2822 [NOIP2016 提高组] 组合数问题
https://www.luogu.com.cn/record/80088595
2022-07-18 15:10:02 +08:00
6fcc52aaf7
P1313 [NOIP2011 提高组] 计算系数
https://www.luogu.com.cn/record/80041822
2022-07-18 10:13:33 +08:00
74f9851e31
P3807 【模板】卢卡斯定理/Lucas 定理
https://www.luogu.com.cn/record/79996740
2022-07-17 19:35:44 +08:00
e94a89bd34
P1313 [NOIP2011 提高组] 计算系数
https://www.luogu.com.cn/record/79904335
2022-07-17 11:25:44 +08:00
7e7e4f27a1
P6146 [USACO20FEB]Help Yourself G
https://www.luogu.com.cn/record/79815317
2022-07-16 15:52:52 +08:00
f7f826975f
P3203 [HNOI2010]弹飞绵羊
https://www.luogu.com.cn/record/79724012
2022-07-15 20:10:55 +08:00
62ad2d855d
P2387 [NOI2014] 魔法森林
https://www.luogu.com.cn/record/79706820
2022-07-15 18:00:27 +08:00
0ea3413730
P3690 【模板】动态树(Link Cut Tree)
https://www.luogu.com.cn/record/79663457
2022-07-15 14:35:19 +08:00
2da6a4f17d
UVA1402 Robotic Sort
https://www.luogu.com.cn/record/79462280
2022-07-14 07:49:26 +08:00
620003e715
SP2059 CERC07S - Robotic Sort
https://www.luogu.com.cn/record/79462245
2022-07-14 07:48:47 +08:00
e22a93171f
P3165 [CQOI2014]排序机械臂
https://www.luogu.com.cn/record/79455152
2022-07-13 22:27:44 +08:00
62c4e899d3
P4402 [Cerc2007]robotic sort 机械排序
https://www.luogu.com.cn/record/79454678
2022-07-13 22:22:04 +08:00
c38fb4c9f4
P2596 [ZJOI2006]书架
https://www.luogu.com.cn/record/79350717
2022-07-13 11:24:31 +08:00
156d860a8a
P8162 [JOI 2022 Final] 让我们赢得选举 (Let's Win the Election)
https://www.luogu.com.cn/record/78444659
2022-07-04 22:22:23 +08:00
614a605e81
P1441 砝码称重
https://www.luogu.com.cn/record/78343607
2022-07-03 16:38:32 +08:00
85a040f217
P4654 [CEOI2017]Mousetrap
https://www.luogu.com.cn/record/78329033
2022-07-03 14:07:17 +08:00
9b2b21aec6
P3690 【模板】动态树(Link Cut Tree)
https://www.luogu.com.cn/record/78096467
2022-06-29 21:03:59 +08:00
34492d4ba8
P4555 [国家集训队]最长双回文串
https://www.luogu.com.cn/record/77999110
2022-06-27 19:31:39 +08:00
69b1246c0e
P3805 【模板】manacher 算法
https://www.luogu.com.cn/record/77959154
2022-06-26 21:31:06 +08:00
83f81f49ee
P1341 无序字母对
https://www.luogu.com.cn/record/77844194
2022-06-24 21:25:18 +08:00
a36a2f6976
P2731 [USACO3.3]骑马修栅栏 Riding the Fences
https://www.luogu.com.cn/record/77837475
2022-06-24 19:47:02 +08:00
173c882d8e
P3594 [POI2015] WIL
https://www.luogu.com.cn/record/77767878
2022-06-23 11:32:55 +08:00
a87464cb4e
P2569 [SCOI2010]股票交易
https://www.luogu.com.cn/record/77710267
2022-06-21 19:51:20 +08:00
2375fdcf82
P3572 [POI2014]PTA-Little Bird
https://www.luogu.com.cn/record/77644318
2022-06-19 21:16:29 +08:00
3fa4158c4d
P2860 [USACO06JAN]Redundant Paths G
https://www.luogu.com.cn/record/77636836
2022-06-19 19:04:01 +08:00
096df42bd6
P2345 [USACO04OPEN] MooFest G
https://www.luogu.com.cn/record/77636791
2022-06-19 19:03:04 +08:00