循环体中的下一个语句是第二个if语句,它测试变量i是否能被125整除,但是该表达式前面加了一个not运算符。
The next statement in the loop body is a second if statement that tests whether the variable I is evenly divisible by 125, but this expression is preceded by the not operator.
简街资本:能被225整除,只包含0和1的最小的数字是多少?
JANE STREET CAPITAL: "What is the smallest number divisible by 225 that consists of all 1s and 0s?"
因此,当变量i的值能被125整除时执行第二个if语句体。
As a result, the body of the second if statement is executed when the value of the variable I is evenly divisible by 125.
应用推荐