Some sample of code for ICPC and algorithm class.