mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-13 11:42:18 +00:00
7 lines
128 B
Text
7 lines
128 B
Text
_ check_assoc(op, a, b, c) {
|
|
return op(op(a, b), c) == op(a, op(b, c));
|
|
}
|
|
|
|
int main() {
|
|
return check_assoc(_+_, 2, 3, 9);
|
|
}
|