mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 03:33:44 +03:00
16 lines
318 B
Plaintext
16 lines
318 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
input_file: inputs/u8.in
|
|
*/
|
|
|
|
function main(a: u8) -> bool {
|
|
let b: bool = -a == -1u8;
|
|
let c: bool = -a > -1u8;
|
|
let d: bool = -a < -1u8;
|
|
let e: bool = -a >= -1u8;
|
|
let f: bool = -a <= -1u8;
|
|
let g: u8 = -a * -1u8;
|
|
let h: u8 = -a ** -1u8;
|
|
return b;
|
|
} |