Skip to content

Commit

Permalink
Roll back part of optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Aug 12, 2024
1 parent 5f384f7 commit 3d54bd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions java/src/main/java/euler/p0076.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ public Object answer() {
// sum += counts[i];
} while (sum > 100);
}
// sum = 0;
// for (int i = 0; i < 101; i++)
// sum += counts[i];
sum = 0;
for (int i = 0; i < 101; i++)
sum += counts[i];
}
return answer;
}
Expand Down

0 comments on commit 3d54bd5

Please sign in to comment.