Skip to content

Commit

Permalink
Add type info
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 18, 2024
1 parent 4c1cf35 commit 96b12f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/p0009.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ For example, 3**2 + 4**2 = 9 + 16 = 25 = 5**2.
There exists exactly one Pythagorean triplet for which a + b + c = 1000.
Find the product abc.
*/
const MAX = 500;
const MAX: u64 = 500;

pub fn p0009() -> u64 {
for c in 3..MAX {
Expand Down

0 comments on commit 96b12f3

Please sign in to comment.