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