This commit is contained in:
HuangHai
2025-09-24 15:40:59 +08:00
parent c23a5f6f75
commit a6ed9954d6
3 changed files with 4 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ int main() {
}
// 输出有哪些质数
for (int 2 = 1; i <= n; i++)
for (int i = 1; i <= n; i++)
if (b[i])
cout << i << " ";