#include<stdio.h>
int function(int array[],int size){
static int j= -3;
int i;
if(size > 3)return 3;
for(i=size -1 ; i>= 0 ; i--){
array[i] += j;
j=i-j;
}
return j;
}
int main(void){
int array[3] = {1,2} , i,j,size=1;
for(i=0;i<2;i++){
size =function(array,size);
for(j=0;j<3;j++)
}
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KaW50IGZ1bmN0aW9uKGludCBhcnJheVtdLGludCBzaXplKXsKIHN0YXRpYyBpbnQgaj0gLTM7CiBpbnQgaTsKCiBpZihzaXplID4gMylyZXR1cm4gMzsKICBmb3IoaT1zaXplIC0xIDsgaT49IDAgOyBpLS0pewogYXJyYXlbaV0gKz0gajsKIGo9aS1qOwogfQpyZXR1cm4gajsKfQoKIGludCBtYWluKHZvaWQpewogaW50IGFycmF5WzNdID0gezEsMn0gLCBpLGosc2l6ZT0xOwogCiBmb3IoaT0wO2k8MjtpKyspewogc2l6ZSA9ZnVuY3Rpb24oYXJyYXksc2l6ZSk7CiBwcmludGYoImFycmF5OiAiKTsKIGZvcihqPTA7ajwzO2orKykKICBwcmludGYoIiVkICIsYXJyYXlbal0pOwpwcmludGYoIlxuIik7CiB9CnJldHVybiAwOwp9