GCD of Contiguous Subsequence 2

2 secs 1024 MB
take44444's icon take44444