#include <stdio.h>
int main()
{
int b[3] = { 0, 1, 2 };
int *p[3];
int i;
p[0] = &b[2];
p[1] = &b[0];
p[2] = &b[1];
// 物理的配置
for (i = 0; i < 3; i++) {
}
// 論理的配置
for (i = 0; i < 3; i++) {
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpCnsKICAgIGludCBiWzNdID0geyAwLCAxLCAyIH07CiAgICBpbnQgKnBbM107CiAgICBpbnQgaTsKCiAgICBwWzBdID0gJmJbMl07CiAgICBwWzFdID0gJmJbMF07CiAgICBwWzJdID0gJmJbMV07CgogICAgLy8g54mp55CG55qE6YWN572uCiAgICBwcmludGYoIiBiW10gPSAiKTsKICAgIGZvciAoaSA9IDA7IGkgPCAzOyBpKyspIHsKICAgICAgICBwcmludGYoIiVkICIsIGJbaV0pOwogICAgfQogICAgcHJpbnRmKCJcbiIpOwogICAgLy8g6KuW55CG55qE6YWN572uCiAgICBwcmludGYoIipwW10gPSAiKTsKICAgIGZvciAoaSA9IDA7IGkgPCAzOyBpKyspIHsKICAgICAgICBwcmludGYoIiVkICIsICpwW2ldKTsKICAgIH0KICAgIHByaW50ZigiXG4iKTsKCiAgICByZXR1cm4gMDsKfQo=