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'll change that, thank you!
Would add some fixed test cases for invalid board - type 2, or make them occur more in random tests.
I see solutions that don't count with them and they can still get through on luck
That sentence still doesn't make anything clear. So how many teams are there in Voile's example? 2? 4? or maybe even more?
I know it and actually it doesnt matter if you are using fractional arithmetics as you did or rounded floats as I did
Because you are not comparing my Rounded float to your Fractions, I am comparing my Rounded floats between each other and you are comparing your fractions between each other, the number type is not the important here the order is
And even tho floats are not comparable together, they dont show any difference in the first 5 numbers after decimal point, that I use(Infact 1 would probably be enough)
So in conclusion, Yes it would work better using fractions but my way to solve this issue is also not wrong here.
Added a sentence to make it clear in describtion.
Thought its redundant.
Author and reference solution uses floating arithmetic instead of integer/fractional arithmetic, which is inaccurate: e.g
1 + 1/3 + 1/3 + 1/3 = 1.9999999999999998
Yes.
Also there is actually a issue here.
Team names seem to have an assumed format which is never explicitly specified. e.g How many teams are there if there is only
TeamC-TeamD>TeamD
? Will team names be in arbitrary forms?Oh i see it. To be honest i don't know what was going through my head when i wrote that part of code.
Should be fixed.
I'm pretty sure your tie breaker is broken, I kept finding the same result on paper and in my program but the expected result was different.
I tried removing my tie breaker and just give 1/n points without checking a minitable and it worked.
Yeah forgot to correct the text before publishing should look better + some things should be clearer to understand
Should be fixed
Should not happen anymore
This comment is hidden because it contains spoiler information about the solution
Please add proper punctuation to the description, eg. fullstop
.
after each sentence.Loading more items...