Solved 108.cpp, Yay integral images