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 apologize, I was really wrong, it's a pity that I realized very late.
How can you say that it should be 4? Have you calculated it manually?
It should be 6, see this: https://www.wolframalpha.com/input?i=2%5E%282%5E%28101%5E2%29%29
Not a kata issue.
why test 2,2,101,2 should be 6, when its 4 ? C++
the goal was not to use third-party libraries and sorting, as well as only one variable