#include <stdio.h>
int main(void) {
char d[50];
int i = 0;
printf("氏名(ローマ字)を入力してください: ");
while (d[i] != '\0') {
printf("d[%d]=%c->%d\n", i
, d
[i
], d
[i
]); i++;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CQogICAgY2hhciBkWzUwXTsgCiAgICBpbnQgaSA9IDA7CgogICAgcHJpbnRmKCLmsI/lkI3vvIjjg63jg7zjg57lrZfvvInjgpLlhaXlipvjgZfjgabjgY/jgaDjgZXjgYQ6ICIpOwogICAgc2NhbmYoIiVzIiwgZCk7CQogICAgcHJpbnRmKCLlhaXlipvjgZfjgZ/mloflrZfliJc6ICVzXG4iLCBkKTsKICAgIAogICAgd2hpbGUgKGRbaV0gIT0gJ1wwJykgewogICAgICAgIHByaW50ZigiZFslZF09JWMtPiVkXG4iLCBpLCBkW2ldLCBkW2ldKTsKICAgICAgICBpKys7CiAgICB9CgogICAgcmV0dXJuIDA7Cn0=