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.
For the C++ translation, the hidden tests do not compile.
The error shown is:
-isystem /runner/frameworks/cpp fatal error: 'boost/algorithm/string/join.hpp' file not found
#include <boost/algorithm/string/join.hpp>
^
1 error generated.
Thanks!
That's a very good observation! I assumed that the input is well formed, but I agree that nothing guaranties that. We can change the comparison:
if len(np.unique(view)) != 9:
to :
if not np.array_equal(np.sort(view), np.arange(1,10)):
so that now it checks only for the array [1,2,...,9]