fine tune

This commit is contained in:
krahets
2023-09-17 01:13:15 +08:00
parent b2246e11a7
commit 9f59c572b5
32 changed files with 44 additions and 44 deletions

View File

@@ -139,7 +139,7 @@ int main(int argc, char *argv[]) {
count = linear(n);
printf("线性阶的操作数量 = %d\n", count);
// 分配堆区内存(创建一维可变长数组:数组中元素数量为n元素类型为int
// 分配堆区内存(创建一维可变长数组:数组中元素数量为 n ,元素类型为 int
int *nums = (int *)malloc(n * sizeof(int));
count = arrayTraversal(nums, n);
printf("线性阶(遍历数组)的操作数量 = %d\n", count);