codes when I studied Algorithm
codes when I studied Algorithm questions from http://uva.onlinejudge.org/