Warning: session_start(): open(/tmp/sess_7c858e22a94a4c5cd58043e38ab75976, O_RDWR) failed: No space left on device (28) in /data/wiki/inc/init.php on line 239

Warning: session_start(): Failed to read session data: files (path: ) in /data/wiki/inc/init.php on line 239

Warning: Cannot modify header information - headers already sent by (output started at /data/wiki/inc/init.php:239) in /data/wiki/inc/auth.php on line 430
Writing /data/wiki/data/cache/d/de2edb2fcb553ea79b79c722a4e13dbc.captchaip failed

Warning: Cannot modify header information - headers already sent by (output started at /data/wiki/inc/init.php:239) in /data/wiki/inc/actions.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /data/wiki/inc/init.php:239) in /data/wiki/lib/tpl/dokuwiki/main.php on line 12
2020-2021:teams:legal_string:后缀数组_lgwza [CVBB ACM Team]

用户工具

站点工具


2020-2021:teams:legal_string:后缀数组_lgwza

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
2020-2021:teams:legal_string:后缀数组_lgwza [2020/07/24 16:12]
lgwza
2020-2021:teams:legal_string:后缀数组_lgwza [2020/07/24 16:17] (当前版本)
lgwza [一些常数优化]
行 43: 行 43:
 参考代码: 参考代码:
  
 +<​hidden>​
 <code cpp> <code cpp>
 #include <​algorithm>​ #include <​algorithm>​
行 86: 行 87:
 } }
 </​code>​ </​code>​
 +</​hidden>​
 ==== $O(n\log n)$ 做法 ==== ==== $O(n\log n)$ 做法 ====
  
行 97: 行 98:
 参考代码: 参考代码:
  
 +<​hidden>​
 <code cpp> <code cpp>
 #include <​algorithm>​ #include <​algorithm>​
行 147: 行 149:
 } }
 </​code>​ </​code>​
 +</​hidden>​
 ==== 一些常数优化 ==== ==== 一些常数优化 ====
  
行 158: 行 161:
  
 实际上,像这样就可以了: 实际上,像这样就可以了:
 +
  
 <code cpp> <code cpp>
行 183: 行 187:
 参考代码: 参考代码:
  
 +<​hidden>​
 <code cpp> <code cpp>
 #include <​algorithm>​ #include <​algorithm>​
行 228: 行 233:
 } }
 </​code>​ </​code>​
 +</​hidden>​
 ==== $O(n)$ 做法 ==== ==== $O(n)$ 做法 ====
  
行 267: 行 273:
 参考代码: 参考代码:
  
 +<​hidden>​
 <code cpp> <code cpp>
 #include <​cctype>​ #include <​cctype>​
行 322: 行 329:
 } }
 </​code>​ </​code>​
 +</​hidden>​
  
 ===== height 数组 ===== ===== height 数组 =====
2020-2021/teams/legal_string/后缀数组_lgwza.1595578366.txt.gz · 最后更改: 2020/07/24 16:12 由 lgwza