📜  口音的伪代码问题 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:40.860000             🧑  作者: Mango

代码示例1
Integer p, q, r, s 
Set p=1, q = 1for (each r from 0 to 2 )
    for (each s from -4 to -2 )
        p = p + 2if(p > r)
            Continue 
        End if 
        p = 1if(p > s) 
            Jump out of the loop 
        End if 
    End for 
End for 
Print p + q