#include <iostream>
#include <vector>
using namespace std;
struct test{
int x;
float y;
float array[100];
test(){
x = 0;
y = 1.0;
for(int i=0; i<100; i++){
array[i] = i;
}
}
void print(){
std::cout << x << " " << y << std::endl;
for(int i=0; i<100; i++){
std::cout << i << " ";
}
}
};
int main() {
std::vector<test> testArray;
testArray.push_back(test());
cout << (void*)&testArray.front() << endl;
auto x = reinterpret_cast<char*>(&(*testArray.begin()));
cout << (void*)x << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKCnN0cnVjdCB0ZXN0ewogICAgaW50IHg7CiAgICBmbG9hdCB5OwogICAgZmxvYXQgYXJyYXlbMTAwXTsKICAgIHRlc3QoKXsKICAgICAgICB4ID0gMDsKICAgICAgICB5ID0gMS4wOwogICAgICAgIGZvcihpbnQgaT0wOyBpPDEwMDsgaSsrKXsKICAgICAgICAgICAgYXJyYXlbaV0gPSBpOwogICAgICAgIH0KICAgIH0KICAgIHZvaWQgcHJpbnQoKXsKICAgICAgICBzdGQ6OmNvdXQgPDwgeCA8PCAiICIgPDwgeSA8PCBzdGQ6OmVuZGw7CiAgICAgICAgZm9yKGludCBpPTA7IGk8MTAwOyBpKyspewogICAgICAgICAgICBzdGQ6OmNvdXQgPDwgaSA8PCAiICI7CiAgICAgICAgfQogICAgfQp9OwoKaW50IG1haW4oKSB7CiAgICBzdGQ6OnZlY3Rvcjx0ZXN0PiB0ZXN0QXJyYXk7CiAgICB0ZXN0QXJyYXkucHVzaF9iYWNrKHRlc3QoKSk7CiAgICBjb3V0IDw8ICh2b2lkKikmdGVzdEFycmF5LmZyb250KCkgPDwgZW5kbDsKICAgIGF1dG8geCA9IHJlaW50ZXJwcmV0X2Nhc3Q8Y2hhcio+KCYoKnRlc3RBcnJheS5iZWdpbigpKSk7CiAgICBjb3V0IDw8ICh2b2lkKil4IDw8IGVuZGw7CglyZXR1cm4gMDsKfQ==