sanbox/cpp: add solutions