MmmmHere is my code https://github.com/OctavioIRG/TC1017/blob/master/WSQ-s/run.cpp

Well I got helped and I read Carlo’s solution. The thing is that my answer should work but i had a little problem with the way my number are added.

 

CC BY 4.0 WSQ 16 by Octavio Rojas is licensed under a Creative Commons Attribution 4.0 International License.