assert, IO.read_file, set, substr, strrev

This commit is contained in:
2025-06-02 17:41:52 +02:00
parent e647e7f508
commit 89d54dfc81
6 changed files with 90 additions and 34 deletions

11
examples/euler15.zr Normal file
View File

@@ -0,0 +1,11 @@
func main[] : I64
let n: I64 = 40
let r: I64 = 20
let out: I64 = 1
let i: I64 = 1
while i < r + 1
out = out * (n - (r - i)) / i
i = i + 1
print_i64(out)