#include <iostream>
#include <cstdint>
using namespace std;
struct A1
{
};
struct A2
{
char c;
};
struct A3
{
char c[3];
};
struct A4
{
char c[9];
};
int main() {
cout << "A1 : " << alignof(A1) << endl;
cout << "A2 : " << alignof(A2) << endl;
cout << "A3 : " << alignof(A3) << endl;
cout << "A4 : " << alignof(A4) << endl;
cout << "char : " << alignof(char) << endl;
cout << "int : " << alignof(int) << endl;
cout << "double : " << alignof(double) << endl;
cout << "long double : " << alignof(long double) << endl;
cout << "int64_t : " << alignof(int64_t) << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGludD4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnN0cnVjdCBBMQp7Cn07CgpzdHJ1Y3QgQTIKewoJY2hhciBjOwp9OwoKc3RydWN0IEEzCnsKCWNoYXIgY1szXTsKfTsKCnN0cnVjdCBBNAp7CgljaGFyIGNbOV07Cn07CgppbnQgbWFpbigpIHsKCWNvdXQgPDwgIkExIDogIiA8PCBhbGlnbm9mKEExKSA8PCBlbmRsOwoJY291dCA8PCAiQTIgOiAiIDw8IGFsaWdub2YoQTIpIDw8IGVuZGw7Cgljb3V0IDw8ICJBMyA6ICIgPDwgYWxpZ25vZihBMykgPDwgZW5kbDsKCWNvdXQgPDwgIkE0IDogIiA8PCBhbGlnbm9mKEE0KSA8PCBlbmRsOwoJY291dCA8PCAiY2hhciA6ICIgPDwgYWxpZ25vZihjaGFyKSA8PCBlbmRsOwoJY291dCA8PCAiaW50IDogIiA8PCBhbGlnbm9mKGludCkgPDwgZW5kbDsKCWNvdXQgPDwgImRvdWJsZSA6ICIgPDwgYWxpZ25vZihkb3VibGUpIDw8IGVuZGw7Cgljb3V0IDw8ICJsb25nIGRvdWJsZSA6ICIgPDwgYWxpZ25vZihsb25nIGRvdWJsZSkgPDwgZW5kbDsKCWNvdXQgPDwgImludDY0X3QgOiAiIDw8IGFsaWdub2YoaW50NjRfdCkgPDwgZW5kbDsKCXJldHVybiAwOwp9