update C++ contest template