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.
This comment is hidden because it contains spoiler information about the solution
I think the "input" referred to here is the String variable-argument passed into the function.
Ah, that's a good point. I was under the assumption that this was an entirely new user with no pre-existing points accumulated. Thanks for the insight!
You're implying the progress was equal to
0
before the rank update. Are you sure that is the case ? It's likely that the progress was already at40
, and then(40 + (8 * 8 * 10)) % 100 === 680 % 100 === 80
.I'm attempting the Java tests and am a little stuck on the "user rank of -8, applying (activity) rank of 1".
My implementation brings user rank to (-2) <-- this meets assertion conditions
and 640 progress, which means 40 progress has rolled over after ranking up.
But the test expected 80 progress?
Any help here is greatly appreciated as I can't think of a square * 10 combination that would leave me with 80 and also get me to rank -2.