I tried my best to make it faster, but my code runs 4.5 S on the extreme data,who can help…
the link is here: https://www.spoj.com/problems/GCDMAT2/
who can help…