例如:for(int i=0;i<height;i++)
for(int j=0;j<width;j++)
{
gray=i*j;
if(gray==255)
{
i=height; // 强行给i赋值
break;
}
}