Solve some top coder problems