2008 ACM Regional Collegiate Programming Contest Greater New York Region Solutions