while (a)
{
    ...
    ...
    if (b) 
        continue;
    ...
    ...
    ...
}

可以改成

while (a)
{
    ...
    ...
    if (!b) 
   {
    ...
    ...
    ...

    }
}

You have no rights to post comments