mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
12 lines
198 B
Plaintext
12 lines
198 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
|
|
# The exponent must be u8, u16, or u32
|
|
*/
|
|
|
|
@program
|
|
function main(a: u128, b: u128, c: u128) -> bool {
|
|
return a ** 2u8 == a ** 2u16 && a ** 2u32 == c;
|
|
}
|