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.
wise
This comment is hidden because it contains spoiler information about the solution
C translation by far is harder than 8 Kyu
Yeah, I understood my mistake. Thank you!
Not a kata issue, your function returned the wrong value.
Good evening!
Don't you think that answer is incorrect?
Testing for [59162,51782,72847,48186,55098,11610,8150,81156,1767,98293,44591,91635,11148,90553,43927,58884,9930,80008,97382,83712,72845,52064,77214,40896,59596,15806,58905,93013,29576,33781,20852,21018,89984,69471,75391,74113,60283,19659,19619,95692,48601,16922,47250,3800,73073,86086,65198,91995,46941]:
expected [ 98293, 3800 ] to deeply equal [ 98293, 97382 ]
I think there is mistake in this assignment
touché
i added another test that should take care of sloppy comparator functions. the only solution left is mine ^^ you guys should aim for O(n) anyway :p
i added a mutability test so your solution and others have been invalidated for casting
const
away :pedit : nevermind
Please inclue another
C
test like:do_sample_test((C {LLONG_MAX, 0}), (C {LLONG_MAX, 0}));
I think the above might detect/fail some solutions using bogus qsort comparator functions.
Seems ok now :)
how embarassing ><
i fixed a bug and republished , can you please retry ?
it seems there's an issue with reference solution:
Thanks :)
Loading more items...