Range Count Subsequence Query

2 secs 1024 MB
momoyuu's icon momoyuu

mid6.txt


入力

出力