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.
Hi,
when pressing "attempt" I get a pass
but stderr says
main.cpp:75:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const int getScore() const { return score; }
^~~~~~
main.cpp:76:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
const bool isScoreGreaterThan(const TheWord &w) const { return score > w.getScore(); }
Guess this stderr output prevents from submitting
the solution, which passes all tests ?
Both stderr functions are outside my scope.
How can I fix that?
language C++ Clang 8 C++17
Actually, when I switch to C++14 the server stops at 12s execution
C++17 requires 4s