#include <iostream>
#include <vector>
#include <string>
class MyClass {
public:
MyClass(std::string s, int i) {
StringValue = s;
IntValue = i;
}
std::string StringValue;
int IntValue;
};
int main() {
std::vector<MyClass> MyVector;
for (int i = 1; i <= 2; i++) {
MyClass c("", i);
MyVector.push_back(c);
}
std::cout << MyVector[0].IntValue << ", " << MyVector[1].IntValue;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8c3RyaW5nPgogCmNsYXNzIE15Q2xhc3MgewpwdWJsaWM6CiAgICBNeUNsYXNzKHN0ZDo6c3RyaW5nIHMsIGludCBpKSB7CiAgICAgICAgU3RyaW5nVmFsdWUgPSBzOwogICAgICAgIEludFZhbHVlID0gaTsKICAgIH0KIAogICAgc3RkOjpzdHJpbmcgU3RyaW5nVmFsdWU7CiAgICBpbnQgSW50VmFsdWU7Cn07CiAKaW50IG1haW4oKSB7CglzdGQ6OnZlY3RvcjxNeUNsYXNzPiBNeVZlY3RvcjsKICAgIGZvciAoaW50IGkgPSAxOyBpIDw9IDI7IGkrKykgewoJICAgTXlDbGFzcyBjKCIiLCBpKTsKCSAgIE15VmVjdG9yLnB1c2hfYmFjayhjKTsKICAgIH0KCglzdGQ6OmNvdXQgPDwgTXlWZWN0b3JbMF0uSW50VmFsdWUgPDwgIiwgIiA8PCBNeVZlY3RvclsxXS5JbnRWYWx1ZTsKfQ==