HDU 6208 The Dominator of Strings 后缀自动机
The Dominator of Strings 后缀自动机 Source 2017 ACM/ICPC Asia Regional Qingdao Online HDU 6208…
The Dominator of Strings 后缀自动机 Source 2017 ACM/ICPC Asia Regional Qingdao Online HDU 6208…
曜酱的心意 树状数组求逆序数 Source 17暑假前集训-数据结构专题 By AutSky_JadeK 2017 UESTC Traini…
Fleet of the Eternal Throne 后缀数组+字典树 Source 2017 Multi-University Training Contest …
Problem D. Five Palindromes manacher、一个串切割成5个回文子串、优化 Source Petrozavodsk Winter-…
D. Green and Black Tea 数论+贪心 My Solution 题意:喝掉n袋茶,其中a袋绿茶b袋红茶,连续喝相同…
H - Pair: normal and paranormal 栈 Source Gym - 100507H My Solution 题意:给一个字符串,要求把…
Date 预处理、打表、找周期、前缀和 Source The 14th UESTC Programming Contest Preliminary…
B. Sherlock and his girlfriend 素数筛法+贪心 My Solution 题意:给出一个n,表示有2、3、......n…
K-th Number 主席树基础题 Source POJ - 2104 My Solution 题意:给出一个数组,每次询问这个数组的…
Super Mario 主席树+二分 Source HDU - 4417 My Solution 题意:给出一个长度为n(1<=n<=1e5)的…