#include <stdio.h>
void pp(int *a, int n)
{
int i;
for (i = 0; i < n; ++i)
}
void kansu(int a[] , int integer)
{
int i;
for (i = integer; a[i]; ++i)
a[i] = a[i + 1];
}
int main(void)
{
int a[6]; a[0] = 0; a[1] = 1; a[2] = 2; a[3] = 3; a[4] = 4; a[5] = '\0';
pp(a, 6);
kansu(a, 2);
pp(a, 6);
return 0;;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHBwKGludCAqYSwgaW50IG4pCnsKICAgIGludCBpOwoKICAgIGZvciAoaSA9IDA7IGkgPCBuOyArK2kpCiAgICAgICAgcHJpbnRmKCIlZDolcCAiLCBpLCBhW2ldKTsKICAgIHB1dGNoYXIoJ1xuJyk7Cn0KCnZvaWQga2Fuc3UoaW50IGFbXSAsIGludCBpbnRlZ2VyKQp7CiAgICBpbnQgaTsKCiAgICBmb3IgKGkgPSBpbnRlZ2VyOyBhW2ldOyArK2kpCiAgICAgICAgYVtpXSA9IGFbaSArIDFdOwp9CgppbnQgbWFpbih2b2lkKQp7CiAgICBpbnQgYVs2XTsgYVswXSA9IDA7IGFbMV0gPSAxOyBhWzJdID0gMjsgYVszXSA9IDM7IGFbNF0gPSA0OyBhWzVdID0gJ1wwJzsKCiAgICBwcChhLCA2KTsKICAgIGthbnN1KGEsIDIpOwogICAgcHAoYSwgNik7CgogICAgcmV0dXJuIDA7Owp9Cg==