Here is my solution to quizz 08. It works just fine with vectors that only have 1’s inside. When I use two digit numbers weird things happen…

Maybe someone can tell me whats wrong.

https://www.dropbox.com/s/sisr1xi785kjbvt/quizz08.cpp?dl=0

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