mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
initial commit
This commit is contained in:
commit
c2da007f40
1610 changed files with 398047 additions and 0 deletions
23
crypto/func/test/a9.fc
Normal file
23
crypto/func/test/a9.fc
Normal file
|
@ -0,0 +1,23 @@
|
|||
int f(int x) {
|
||||
if (2 * x + 1 == 7) {
|
||||
return x + 17;
|
||||
} else {
|
||||
return 239;
|
||||
}
|
||||
}
|
||||
|
||||
int f2(int x) {
|
||||
return 2 * x + 1 == 6 ? x + 17 : 239;
|
||||
}
|
||||
|
||||
int g(int x) {
|
||||
return x & 1 ? 3 * x + 1 : x / 2;
|
||||
}
|
||||
|
||||
_ H(int x, int y) {
|
||||
return (x < y, x <= y, x == y, x >= y, x > y, x != y, x <=> y);
|
||||
}
|
||||
|
||||
int q() {
|
||||
return 4;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue