points
bool w; int x[1000]; int y[1000]; for(int i=0;i<1000;i++){ x[i] += y[i]; } if(w){ for(int i=0;i<1000;i++){ y[i] = 0; } }