mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
10 lines
191 B
Plaintext
10 lines
191 B
Plaintext
|
/*
|
||
|
namespace: Compile
|
||
|
expectation: Pass
|
||
|
input_file: input/three_ones.in
|
||
|
*/
|
||
|
|
||
|
function main (a: [u8; 3]) -> bool {
|
||
|
let y = a[0..[0u8; 2] == [0u8; 2]? 2u8 : 2u8];
|
||
|
return y == [1u8, 1];
|
||
|
}
|