GCD Again by kou

m;main(l,s,n,o){for(gets(s);n=s/l?s=m&&!printf("%d\n",m),~scanf("%d",&l):m;s++)for(scanf("%d",&m);s*n;m=n,n=o)o=m%n;}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page