mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated fift/func
This commit is contained in:
parent
b6f6788532
commit
d41ce55305
31 changed files with 717 additions and 66 deletions
9
crypto/func/test/a10.fc
Normal file
9
crypto/func/test/a10.fc
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
_ f(int a, int x) {
|
||||
int y = 0;
|
||||
int z = 0;
|
||||
while ((y = x * x) > a) {
|
||||
x -= 1;
|
||||
z = 1;
|
||||
}
|
||||
return (y, z);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue