问题描述
解决方案
解决方案二:
这些程序的运行时间因程序的组合的不同而不同,一共有以下4种情况:
1)(P0,P1) and P2 => (5ms + 10ms) and 20ms => 20ms
2)(P0,P2) and P1 => (5ms + 20ms) and 10ms => 25ms
3)(P1,P2) and P0 => (10ms + 20ms) and 50ms => 30ms
4)(P0,P1,P2) => (5ms + 10ms + 20ms) => 35ms
时间: 2024-10-27 13:37:22