#include <stdio.h>
int main(void) {
char d[15];
int i;
for (i = 0; i < 15; i++) {
d[i] = 'g';
}
d[i] = '\0';
for (i = 0; i < 15; i++) {
printf("d[%d] = %c -> %d\n", i
, d
[i
], d
[i
]); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CiAgICBjaGFyIGRbMTVdOwogICAgaW50IGk7CgogICAgZm9yIChpID0gMDsgaSA8IDE1OyBpKyspIHsKICAgICAgICBkW2ldID0gJ2cnOwogICAgfQogICAgZFtpXSA9ICdcMCc7CiAgCiAgICBwcmludGYoIiIpOwogICAgc2NhbmYoIiUxNXMiLCBkKTsKCiAgICBmb3IgKGkgPSAwOyBpIDwgMTU7IGkrKykgewogICAgICAgIHByaW50ZigiZFslZF0gPSAlYyAtPiAlZFxuIiwgaSwgZFtpXSwgZFtpXSk7CiAgICB9CgogICAgcmV0dXJuIDA7Cn0K