mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-19 15:41:36 +03:00
16 lines
188 B
Plaintext
16 lines
188 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: inputs/u32_3.in
|
|
*/
|
|
|
|
function main(x: u32) -> bool {
|
|
let y = x;
|
|
|
|
for i in 0..3 {
|
|
y -= 1;
|
|
}
|
|
|
|
return y == 0;
|
|
}
|