【Z函数】codeforces 2010 C2. Message Transmission Error (hard version)
摘要:
前言 Z 函数的定义 对于一个字符串 \(s\),定义 Z 函数 \(Z[i]\) 为以 \(s[i]\) 为起始位置的后缀与整个字符串 \(s\) 的最长公共前缀的长度。 Z 函数的应用 字符串匹配问题 题目 https://codeforces.com/problemset/problem/20 阅读全文
posted @ 2024-12-16 19:17 RomanLin 阅读(52) 评论(0) 推荐(0)
浙公网安备 33010602011771号