yosupo06 / library-checker-problems

The problem data (Test case generator, judge's solution, task, ...) of Library Checker
https://judge.yosupo.jp/
Apache License 2.0
521 stars 118 forks source link

[問題案] Longest Common Substring #889

Closed maspypy closed 11 months ago

maspypy commented 2 years ago

概要

文字列 S, T の最長共通部分文字列を出力。subsequence じゃなくて substring の方。 長さ 0 ならば

0

正の長さ n ならば S[l_1,r_1) と T[l_2,r_2) として

n
l_1 r_1 l_2 r_2

を出力

制約

解法

maspypy commented 1 year ago

作業者募集です。

maspypy commented 11 months ago

やります