LeetCode 2099. Find Subsequence of Length K With the Largest Sum
Use priority queue to find the largest k numbers. also and their index.
Use priority queue to find the largest k numbers. also and their index.
Maintain a Heap that contains only the K biggest the element.
First we need to sort the scores from biggest to smallest.
Calculate the building in lines not by the whole building.
之前装过win11,笔记本没问题,去教室电脑装了一下,各种不支持,CPU和TPM都不支持。但是并不是真的是硬件不支持,可以跳过检测。