Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
No files matched your search
@@ -0,0 +1,9 @@
|
||||
def record_sample(total: Int, sample: Int):
|
||||
total += sample
|
||||
|
||||
|
||||
def main():
|
||||
var total = 0
|
||||
record_sample(total, 12)
|
||||
record_sample(total, 8)
|
||||
print("Total distance:", total)
|
||||
Reference in new issue
Block a user