1、下面程序段的时间复杂度为()。 for(int i=0;i<m;i++) for(int j=0;j<n;j++) a[i][j]=i*j;

A.O(m2) B.O(n2) C.O(m*n) D.O(m+n)

时间:2024-05-09 13:58:08

相似题目