#include <iostream>
#include <vector>
#include <array>
int main()
{
std::vector<float> v;
for( auto f : { 1.0, 2.0, 3.0 } ) v.push_back(f);
std::cout << sizeof(v) << "-" << v.capacity() << std::endl;
std::cout << sizeof(std::array<float,3>) << std::endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8YXJyYXk+CgppbnQgbWFpbigpCnsKCXN0ZDo6dmVjdG9yPGZsb2F0PiB2OwoJZm9yKCBhdXRvIGYgOiB7IDEuMCwgMi4wLCAzLjAgfSApIHYucHVzaF9iYWNrKGYpOwoJc3RkOjpjb3V0IDw8IHNpemVvZih2KSA8PCAiLSIgPDwgdi5jYXBhY2l0eSgpIDw8IHN0ZDo6ZW5kbDsKCXN0ZDo6Y291dCA8PCBzaXplb2Yoc3RkOjphcnJheTxmbG9hdCwzPikgPDwgc3RkOjplbmRsOwp9