12345678
void splitnum(int n, std::vector<int>& doubles) { while(n > 0) { doubles.push_back( n % 100); n /= 100; } }