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'm a novice to the workings of 'auto', so in this case does the compiler deduce the type by using the return type of "length()"?
Not true. If you use
auto
you're just letting the compiler do the type deduction.look out for extra newlines or spaces which are not printed.
making denum and numer auto is bad practice because that forces them to be instantiated at run-time instead of compile. if you know the type use it.
The random tests for php were wrong. Fixed.
State the language you're trying and paste your solution with spoiler tag.
this optimizes the top solution well.
My code is intermittently passing all tests. Sometimes it passes everything, other times it doesn't. Are the random_tests() actually made random?
not sure if something has changed in the test code but I am printing out my answer to sample code, it matches the solution, but is still not passing the test.
This is the output.
Expected: equal to yeCt
CSbg
JVhv
lVHt
Actual: yeCt
CSbg
JVhv
lVHt