My programming competition solutions