#include<stdio.h>
int main(void){
int x[10] = {0};
printf("最初の要素の新しい値を入力してください: ");
printf("最後の要素の新しい値を入力してください: ");
for (int i = 0; i < 10; i++) {
printf("x[%d] = %d\n", i
, x
[i
]); }
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KaW50IG1haW4odm9pZCl7CiAgICBpbnQgeFsxMF0gPSB7MH07ICAKICAgIHByaW50Zigi5pyA5Yid44Gu6KaB57Sg44Gu5paw44GX44GE5YCk44KS5YWl5Yqb44GX44Gm44GP44Gg44GV44GEOiAiKTsKICAgIHNjYW5mKCIlZCIsICZ4WzBdKTsgIAogICAgCiAgICBwcmludGYoIuacgOW+jOOBruimgee0oOOBruaWsOOBl+OBhOWApOOCkuWFpeWKm+OBl+OBpuOBj+OBoOOBleOBhDogIik7CiAgICBzY2FuZigiJWQiLCAmeFs5XSk7IAogIAogICAgcHJpbnRmKCLphY3liJfjga7lhoXlrrk6XG4iKTsKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgMTA7IGkrKykgewogICAgICAgIHByaW50ZigieFslZF0gPSAlZFxuIiwgaSwgeFtpXSk7CiAgICB9CgogICAgcmV0dXJuIDA7Cn0=