Bug fixing
ai/code-review No issues found
hello-world/pipeline/head This commit looks good

This commit is contained in:
2026-05-03 21:39:24 +01:00
parent 57e44e5bc9
commit 62ba8e0ff0
+5 -5
View File
@@ -1,12 +1,12 @@
#include <iostream>
int main() {
auto max_value = 100;
int main()
{
auto the_max_value = 100;
int total = 0;
for (int i = 0; i < max_value; ++i) {
total += i;
for (int v = 0; v < the_max_value; ++v) {
total += v;
}
std::cout << "Total: " << total << std::endl;