mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-01 08:19:32 +03:00
14 lines
252 B
Plaintext
14 lines
252 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: inputs/pow.in
|
|
|
|
# The exponent must be u8, u16, or u32
|
|
*/
|
|
|
|
program test.aleo {
|
|
transition main(a: u64, b: u64, c: u64) -> bool {
|
|
return a ** 2u8 == a ** 2u16 && a ** 2u32 == c;
|
|
}
|
|
}
|