2020-06-15 23:38:07 +03:00
|
|
|
function main(bit: u32) -> u32 {
|
2020-06-13 10:47:09 +03:00
|
|
|
let mut a = 5u32;
|
|
|
|
|
2020-06-14 03:43:59 +03:00
|
|
|
if bit == 1 {
|
|
|
|
a = 1;
|
2020-06-13 10:47:09 +03:00
|
|
|
} else {
|
2020-06-14 03:43:59 +03:00
|
|
|
a = 0;
|
2020-06-13 10:47:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
return a
|
|
|
|
}
|