下列代码片段的时间复杂度为( )。 long long s = 0; for (int i = 1; i <= n; i++) for (int j = 1; j <= n; j += i) s += i + j; A. O(n) B. O(nlogn) C. O(n2) D. O(nn)