#include <vector>
#include <iostream>
class a {
float x,y,z;
public:
a(float a, float b, float c) : x(a), y(b), z(c) {}
};
int main()
{
std::vector<a> b;
b.emplace_back(0, 0, 0);
b.push_back(a(0, 0, 0));
std::cout << "b contains " << b.size() << " elements\n";
}
I2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPGlvc3RyZWFtPgpjbGFzcyBhIHsKICAgIGZsb2F0IHgseSx6OwogcHVibGljOgogICAgYShmbG9hdCBhLCBmbG9hdCBiLCBmbG9hdCBjKSA6IHgoYSksIHkoYiksIHooYykge30KfTsKaW50IG1haW4oKQp7CiAgICBzdGQ6OnZlY3RvcjxhPiBiOwogICAgYi5lbXBsYWNlX2JhY2soMCwgMCwgMCk7CiAgICBiLnB1c2hfYmFjayhhKDAsIDAsIDApKTsKCiAgICBzdGQ6OmNvdXQgPDwgImIgY29udGFpbnMgIiA8PCBiLnNpemUoKSA8PCAiIGVsZW1lbnRzXG4iOwp9Cg==