在下面的程序段中,对x的赋值语句的频度为()for (i=1;i<=n;i++) for (j=1;j<=n;j++) x=x+1;

A.O(2^n) B.O(n) C.O(n^2) D.O(log2n)

时间:2024-03-14 14:46:05

相似题目