Here are all codes that i did for UVA online judge.