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 don't agree with you.
Modern C++ is not just C with classes.
Completely different constructions are used to solve problems.
Why is a function signature in с-style given for C++ kata?
I propose changing to c++ style
great
I have some problems with test case - "minDiff on random generated piles should be ok"
Input:
List(979860, 858272, 854452, 698901, 687688, 684485, 493090, 306875, 292611, 290339, 266237, 82990)
Output:
I think the problem is in the test because my result is correct
My result: first stone = 3232868, second stone = 3262932, and min diff number = 30064
I don't think so. The length of the lines is the same.
I think the problem is in the test. Most likely my result is compared with an incorrect value. In the fixed test everything is correct.
I have the same problem
This comment is hidden because it contains spoiler information about the solution