mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-13 11:42:18 +00:00
acf16718e6
- updated func/fift - updated liteclient/liteserver - bugfixes
10 lines
177 B
Text
10 lines
177 B
Text
global ((int, int) -> int) op;
|
|
|
|
int check_assoc(int a, int b, int c) {
|
|
return op(op(a, b), c) == op(a, op(b, c));
|
|
}
|
|
|
|
int main() {
|
|
op = _+_;
|
|
return check_assoc(2, 3, 9);
|
|
}
|