1 | $0=and($0,$0-1)?2^int($0^.5):$0*2 |
JDA9YW5kKCQwLCQwLTEpPzJeaW50KCQwXi41KTokMCoy
-
upload with new input
-
result: Success time: 0.01s memory: 4276 kB returned value: 0
1 2 3 4 5
2 4 2 8 4
1 | $0=and($0,$0-1)?2^int($0^.5):$0*2 |
result: Success time: 0.01s memory: 4276 kB returned value: 0
1 2 3 4 5
2 4 2 8 4