Closed long-long-float closed 5 years ago
In this test case, i equals root by counting up, so root % i == 0 is evaluated true and out equals false every time.
i
root
root % i == 0
out
Very stupid mistake, thanks;)
In this test case,
i
equalsroot
by counting up, soroot % i == 0
is evaluated true andout
equals false every time.