the percentage of 8kyu is starting from 1, instead of 0. like 7kyu's range: 91-180, 8kyu's range is 1-90. For example, 91 points is 7kyu 0%, so 1 point is 8kyu 0%. base on this, 5 points is (5-1)/90=4%
the percentage of 8kyu is starting from 1, instead of 0. like 7kyu's range: 91-180, 8kyu's range is 1-90. For example, 91 points is 7kyu 0%, so 1 point is 8kyu 0%. base on this, 5 points is (5-1)/90=4%
This comment is hidden because it contains spoiler information about the solution
same issue above with more details, closing
Added.
Ooh, that's a nice one! :]
Without that rule, I agree this is not a duplicate of that.
This comment is hidden because it contains spoiler information about the solution
Very similar. Almost the same. I didn't know that kata before.
However it has one rule which my task has not: "You cannot copy your opponent's previous move, likewise they cannot copy yours."
Is
Protein
a class? Did Voile meanHashMap
orHashSet
?Check how
HashMap
handles the lookup and its potential pitfalls ;-)the percentage of 8kyu is starting from 1, instead of 0. like 7kyu's range: 91-180, 8kyu's range is 1-90. For example, 91 points is 7kyu 0%, so 1 point is 8kyu 0%. base on this, 5 points is (5-1)/90=4%
the percentage of 8kyu is starting from 1, instead of 0. like 7kyu's range: 91-180, 8kyu's range is 1-90. For example, 91 points is 7kyu 0%, so 1 point is 8kyu 0%. base on this, 5 points is (5-1)/90=4%
Hell yeah, I'm agree with smile67!
This comment is hidden because it contains spoiler information about the solution
Addeded thank you.
Your personal opinion of a single kata, the average was 5 and 6... so be happy for some easy points;-)...