mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 00:51:33 +03:00
13 lines
194 B
Plaintext
13 lines
194 B
Plaintext
function main(bit: u32) -> u32 {
|
|
let mut result = 0u32;
|
|
|
|
if bit == 1u32 {
|
|
result = 1u32;
|
|
} else if bit == 2u32 {
|
|
result = 2u32;
|
|
} else {
|
|
result = 3u32;
|
|
}
|
|
|
|
return result
|
|
} |