#include #include using namespace std; int main() { vector vc1; int i; for (i = 0; i < 2014; i++) vc1.push_back('a' + (i % 19)); while (vc1.size() != 1) { vector vc2; cout << vc1.size() << endl; for (i = 1; i < vc1.size(); i += 2) vc2.push_back(vc1[i]); vc1.assign(vc2.begin(), vc2.end()); cout << vc1.size() << endl; } cout << vc1[0] << endl; return 0; }