mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-06 22:34:18 +08:00
Format C, C++, C#, Go, Java, Python, Rust code.
This commit is contained in:
@ -33,5 +33,5 @@ if __name__ == "__main__":
|
||||
k = 3
|
||||
|
||||
res = top_k_heap(nums, k)
|
||||
print(f"最大的 {k} 个元素为")
|
||||
print(f"最大的 {k} 个元素为")
|
||||
print_heap(res)
|
||||
|
Reference in New Issue
Block a user