资源列表
[其他小程序] add
说明:有0,1,2三个数,此后,每次取出较大的两个数,用这两个数的和替换原先三个数中的任意一个。求需要使用最少的操作次数得到一个数x。-0, 1, 2 or three, Since then, every time you remove the larger of the two, with two numbers and replace any one of the original three numbers. Requirements need to use the minimum opera<yao> 在 2025-06-24 上传 | 大小:1kb | 下载:0
[其他小程序] task
说明:有台机器每次只能处理一个任务,所以n个任务需要排成一个队列等待处理。当处理一个任务时,其他任务都处于等待状态,总等待时间累加等待的任务个数乘以任务处理时间。每个任务的等待时间由一个正整数w表示,表示这个任务当前需要的时间为w,当处理完这个任务后,该任务完成,并产生一个时间为w-1的任务,并排到队列的末尾,当然,如果w-1等于0,则不会产生新任务。求对这n个任务进行排列后,所花费的最小总等待时间是多少-The machine can only handle one task, so the n t<yao> 在 2025-06-24 上传 | 大小:1kb | 下载:0
[其他小程序] cal2jd.m
说明:民用日传换到儒略日的matlab function。输入民用日的 年,月,日,小时,算得儒略日。-The civil day pass conversion to Julian day of Matlab FUNCTION. Enter the civil day of the year, month, day, hour, can be regarded as the Julian day.<chen tianyi> 在 2025-06-24 上传 | 大小:1kb | 下载:0