Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I swear to god, I had the same answer but it timed out on tests, so I had to forfeit it. Glad yours passed though.
Hey, that walrus operator line is pretty neat.
Agreed on the rounding constraint. The partial persons in the intermediate results are essentially just modeling variance in the year-to-year growth rate. (E.g., 1/3 of a person per year just means every third year you get an extra person.) If they're gonna make us round, it should be at the end, not in every step.
"my mathematical brain hates that I need to round this"
It isn't rounding, casting to int chops the decimal bit off.
This comment is hidden because it contains spoiler information about the solution