accepted in c++