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
How to view my clicked solution(Best Practice, Clever) for my study?
thanks.
first test case return [0, 32, 19]
I want to return [0, 32, 18]
I think that floating point problem.
I tried round(v2_per_second, 2) to failed.
How about in python??
Sorry, I debuged with your source code.
I realized setdefault is only one saved in dictionary.
Yes. the other problem is exists.
Original problem: return first player
The other problem: return first, second player
How about?
In case
How about equal player??
dictionary is not ordered.
scores is dictionary that not ordered.
Clear!
I forgot this statement. I have a low english skill then I skiped difficult statement.
I prefer code more than complicated statement.
Good luck!
function name is wrong
plz change function name.
You had better think again.
I had same problem.
Point
How about works this function?
I'm curious this solution.
I compared time between you and me.
you: 100000 loops, best of 3: 9.61 µs per loop
I : 10000 loops, best of 3: 20.1 µs per loop
Need Features
Thanks.
Why TypeError occurred?
I didn't understand..
Why didn't into the function?
I think TestCase is wrong.
How about your think?
That's beginning from all my fault.
I would have explained detailed suggesttion.
Sorry for this accident.
I think bkaes just translate my opinions to you. but choose unproper words to you. I thknk that didn't insult meaning.
Back to the fact.
Fact
I think confused order
I think corrected order
How about g964 think?
I respect whatever Your choose.
I'm sorry for detailed description.
I wasn't attacked to you. @g964
Sure, I thank for you. because you used to make the problem with a lot of your valuable time.
But, I think example needs changed position then people know your purpose quickly.
Thanks for discussion and answer.
Confused order
I think corrected order
and thank you for your translate @bkaes.
Example is consued
a = [121, 144, 19, 161, 19, 144, 19, 11]
b = [11*11, 121*121, 144*144, 19*19, 161*161, 19*19, 144*144, 19*19]
I understand a[0] == b[0]. because I wasted a lot of my valuable time.
example needs changed position.
Loading more items...