下面程序段的时间复杂度为( )。
for(int i=0;i<>< span="">
for(int j=0;j<>< span="">
a[i][j]=i*j;

A.O(m2)

B.O(n2)

C.O(m+n)

D.O(m*n)
出自:华北水利水电大学-计算机软件技术基础