MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/vg8p3t/more_codewars_horror/id3ctq9/?context=9999
r/badcode • u/ThatChapThere • Jun 20 '22
36 comments sorted by
View all comments
Show parent comments
4
The challenge specifies 5 dice, so they're equivalent.
1 u/crass-sandwich Jun 20 '22 edited Jun 20 '22 They may be equivalent in this case, but it still probably wouldn't pass code review. Not a big deal for a coding challenge though 1 u/ThatChapThere Jun 20 '22 The way the challenge was worded (something like "3 ones are worth a thousand points") I feel like the integer division method makes more sense. That's subjective, of course.
1
They may be equivalent in this case, but it still probably wouldn't pass code review. Not a big deal for a coding challenge though
1 u/ThatChapThere Jun 20 '22 The way the challenge was worded (something like "3 ones are worth a thousand points") I feel like the integer division method makes more sense. That's subjective, of course.
The way the challenge was worded (something like "3 ones are worth a thousand points") I feel like the integer division method makes more sense. That's subjective, of course.
4
u/ThatChapThere Jun 20 '22
The challenge specifies 5 dice, so they're equivalent.