Competitive porgramming codes