the solution of algorithm contest like topcoder, sgu etc ..