__ is the average running time over all inputs of size n. Let p(I) denote the probability of seeing this input. The average-case time is the weighted sum of running times with weights.
(A) Worst-case time
(B) Average-case time
(C) Constant-case time
(D) none