GCD of Contiguous Subsequence

2 secs 1024 MB
take44444's icon take44444

test20.txt


入力

出力