GCD of Contiguous Subsequence

2 secs 1024 MB
take44444's icon take44444

test22.txt


入力

出力