add solution.cc