fix: remove redundant counter in C complexity examples (#1908)

Co-authored-by: krahets <krahets@163.com>
This commit is contained in:
mazezen
2026-10-11 01:26:58 +08:00
committed by GitHub
parent 46a09cf31a
commit 04757b6a57
5 changed files with 0 additions and 5 deletions

View File

@@ -10,7 +10,6 @@
int constant(int n) {
int count = 0;
int size = 100000;
int i = 0;
for (int i = 0; i < size; i++) {
count++;
}

View File

@@ -10,7 +10,6 @@
int constant(int n) {
int count = 0;
int size = 100000;
int i = 0;
for (int i = 0; i < size; i++) {
count++;
}

View File

@@ -10,7 +10,6 @@
int constant(int n) {
int count = 0;
int size = 100000;
int i = 0;
for (int i = 0; i < size; i++) {
count++;
}

View File

@@ -10,7 +10,6 @@
int constant(int n) {
int count = 0;
int size = 100000;
int i = 0;
for (int i = 0; i < size; i++) {
count++;
}

View File

@@ -10,7 +10,6 @@
int constant(int n) {
int count = 0;
int size = 100000;
int i = 0;
for (int i = 0; i < size; i++) {
count++;
}