This commit is contained in:
krahets
2023-10-17 20:29:28 +08:00
parent 44ebc7748b
commit de9bf5a57a
5 changed files with 44 additions and 8 deletions
@@ -1027,7 +1027,11 @@ $$
=== "Zig"
```zig title="space_complexity.zig"
[class]{}-[func]{function}
// 函数
fn function() i32 {
// 执行某些操作
return 0;
}
// 常数阶
fn constant(n: i32) void {