#include <iostream>
#include <algorithm>
#include <initializer_list>
using namespace std;
struct A
{
char field_a;
A(): field_a('a') {}
};
struct B
{
double c;
B() : c(10.0) {}
};
struct D
{
int buffer[100];
D()
{
}
};
template <typename... Types>
constexpr auto get_sizes()
{
return initializer_list<size_t>{ sizeof(Types)... };
}
int main()
{
auto constexpr sz = max( get_sizes<A, B, D>() );
cout << sz << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8aW5pdGlhbGl6ZXJfbGlzdD4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgpzdHJ1Y3QgQQp7CiAgICBjaGFyIGZpZWxkX2E7CgogICAgQSgpOiBmaWVsZF9hKCdhJykge30KfTsKCnN0cnVjdCBCCnsKICAgIGRvdWJsZSBjOwoKICAgIEIoKSA6IGMoMTAuMCkge30KfTsKCnN0cnVjdCBECnsKICAgIGludCBidWZmZXJbMTAwXTsKCiAgICBEKCkKICAgIHsKICAgIH0KfTsKCnRlbXBsYXRlIDx0eXBlbmFtZS4uLiBUeXBlcz4KY29uc3RleHByIGF1dG8gZ2V0X3NpemVzKCkgCnsKICAgIHJldHVybiBpbml0aWFsaXplcl9saXN0PHNpemVfdD57IHNpemVvZihUeXBlcykuLi4gfTsKfQoKaW50IG1haW4oKQp7CglhdXRvIGNvbnN0ZXhwciBzeiA9IG1heCggZ2V0X3NpemVzPEEsIEIsIEQ+KCkgKTsKICAgIGNvdXQgPDwgc3ogPDwgZW5kbDsgCn0=