Update problem11.cpp