Fixed an incorrect register move
This commit is contained in:
@ -2,8 +2,10 @@ import log
|
||||
import sys
|
||||
|
||||
main() {
|
||||
x := 12
|
||||
collatz(12)
|
||||
}
|
||||
|
||||
collatz(x) {
|
||||
loop {
|
||||
if x & 1 == 0 {
|
||||
x /= 2
|
||||
|
Reference in New Issue
Block a user