注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
拿GPT重新总结了一下,第一题题目大概是这样,对于我来说还挺有难度的,看题目都看了好久,似乎是一个新题。:
Problem Statement A CPU needs to process n tasks, numbered from 1 to n.
There are k priority tasks, whose positions are given in the array priorityTasks.
The CPU can process a additional cost. Goal: Find the minimum total processing time required to process all n tasks, 第二题就是经典跑道+差分数列
希望能过,然后由于本人的米还没攒够,希望求大米!谢谢 |