mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
17 lines
218 B
Plaintext
17 lines
218 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: inputs/u32_3.in
|
|
*/
|
|
|
|
function main(x: u32) -> bool {
|
|
const COUNT: u32 = 2;
|
|
let y = x;
|
|
|
|
for i in 0..COUNT {
|
|
y -= 1;
|
|
}
|
|
|
|
return y == 1;
|
|
}
|