7xGit / 7xGit/7xGit_Task1

Incorrect Loop Syntax and Logic

未关闭 适合新手
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement help wanted invalid question
主要语言
C++
星标
1
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

The loop for (int i = 0 i < n; i--) is missing a semicolon and is decrementing i instead of incrementing it.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Find the file with the loop syntax error, likely in a C++ source file. Look for a for loop with missing semicolon and decrementing i. Correct it to 'for (int i = 0; i < n; i++)'. Verify by compiling and running any existing tests or the program to ensure it works correctly.

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
cli
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
90/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。