Python Convert Array String To Integer Cpp