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.
wait,
**0.5
will not works well with really big integers...This comment is hidden because it contains spoiler information about the solution
is it
O(n)
?this is optimized for cases the array has many duplicate numbers.
btw if there are 1,000,000
i8
elements, we can promise that is trueWould you please update Rust to 1.51? I am waiting for reduce()
wow!
wait 0<=h<=23 is a mistake
in C it should be 0<=h&&h<=23
he need change the value of ret
error in C Edition tests:
the second test which excepted 7 should return 6
C Translation
AMD no!
Intel yes!
:)