Range Count Subsequence Query

2 secs 1024 MB
momoyuu's icon momoyuu

max3.txt


入力

出力