Solved tasks from various programming contests