Finished 2010 s1 for C++