我有一个问题,我试图理解它,但我用谷歌搜索但找不到相关答案。
For any distribution, if
a
is the total time required by the 1st TA,b
is the total time required by the second TA andc
is the total time required by the 3rd TA, minimizez = abs(a-b)+abs(b-c)+abs(c-a)
.Input The first input is
N
, the number of test cases. Each test case has 1st input asQ
, the number of questions. Then exactlyQ
numbers (space separated) in 1 line, each denoting the time required for every question. Output For every test case, one number in a line,z
, the minimum value which is possible.
有人能告诉我公式中的s
是什么吗?
最佳答案
关于c - 工作负载分配公式中字符 's' 代表什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29071225/