#include <stdio.h>
int main(void) {
char d[13]; // 12文字+終端文字(\0)のために13
int i;
// 入力を受け取る(最大12文字)
// 各文字とそのASCIIコードを表示
for (i = 0; d[i] != '\0'; i++) {
printf("d[%d] = %c -> %d\n", i
, d
[i
], d
[i
]); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CiAgICBjaGFyIGRbMTNdOyAgLy8gMTLmloflrZcr57WC56uv5paH5a2X77yIXDDvvInjga7jgZ/jgoHjgasxMwogICAgaW50IGk7CgogICAgLy8g5YWl5Yqb44KS5Y+X44GR5Y+W44KL77yI5pyA5aSnMTLmloflrZfvvIkKICAgIHNjYW5mKCIlMTJzIiwgZCk7CgogICAgLy8g5ZCE5paH5a2X44Go44Gd44GuQVNDSUnjgrPjg7zjg4njgpLooajnpLoKICAgIGZvciAoaSA9IDA7IGRbaV0gIT0gJ1wwJzsgaSsrKSB7CiAgICAgICAgcHJpbnRmKCJkWyVkXSA9ICVjIC0+ICVkXG4iLCBpLCBkW2ldLCBkW2ldKTsKICAgIH0KCiAgICByZXR1cm4gMDsKfQoK