问题:
[单选题]
There are n numbers a1,⋯,an. The task is to compute mij, i=1,⋯,n, j=i+1,⋯,n where mij=∑k=ijak.
The running time of the following algorithm is _____.
There are n numbers a1,⋯,an. The task is to compute mij, i=1,⋯,n, j=i+1,⋯,n where mij=∑k=ijak.
The running time of the following algorithm is _____.
Copyright © 2024 www.daanwo.com All Rights Reserved |