Shortest and simplest C++ Soln


#1

image