code template for contests