DEV Community

Discussion on: Daily Challenge #97 - Greed is Good

Collapse
 
qm3ster profile image
Mihail Malo

Why do they give 0?!

Collapse
 
juliannicholls profile image
Julian Nicholls

The problem comes when there aren't exactly three of a number.

Thread Thread
 
qm3ster profile image
Mihail Malo

I guess that's no more contrived than the solution that would give 600 so that's okay.