mirror of
https://github.com/ProvableHQ/leo.git
synced 2025-01-03 07:41:48 +03:00
18 lines
306 B
Plaintext
18 lines
306 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
function main(y: bool) -> bool {
|
|
let x = 0u8;
|
|
for i in 0..strlen("I swear to god I had something for this") {
|
|
x += 1;
|
|
}
|
|
return (x == 39) == y;
|
|
}
|
|
|
|
function strlen(str: [char; _]) -> u32 {
|
|
return str.len();
|
|
}
|