Wednesday, 14 January 2015

adhoc concepts spoj

1.  http://www.spoj.com/problems/STREETR/
solu- its the gcd of difference between consecutive trees