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