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.
same bro, i hate that int(), it doesn't make any sense mathematically speaking :(
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.
How can we know that d is higher than a*b?
Duly noted, sir :)
This comment is hidden because it contains spoiler information about the solution
i saw someone else do this first and i thought it was really cool so i figured out how to do this myself XD
Assembly disguised as C. It is brilliant!
Brilliant! I totally like this solution.
Haha, do you analyse malware for fun thinking that you came up with this solution?
Anyways, masterpiece!
Man, you have time to be this creative! Respect++
Experienced developer who makes the review and already knows what the solution shall be: Task is easy.
Me: Don't say it twice. Tadaaaaah!
Absolutely amazing 😲
I am totally impressed!
Loading more items...