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 am literally struggling with this :(
i thought all aces are considered 1 point. I have already solved the problem, thanks
It's in the instructions:
You choose how to count it to your benefit. Google "Blackjack rules" or click over the link to Wikipedia in the description.
why the {'8', 'A', 'A'} combination is 20 but not 10? where is can read about this rules?
In the template solution you have a comment:
what is a parameter of the function solEquaStr() int* length?
This comment is hidden because it contains spoiler information about the solution
Read the error message:
expected '1 * 5 = 5\n' to equal '1 * 5 = 5\n2 * 5 = 10\n3 * 5 = 15\n4 * 5 = 20\n5 * 5 = 25\n6 * 5 = 30\n7 * 5 = 35\n8 * 5 = 40\n9 * 5 = 45\n10 * 5 = 50'
You're returning inside the loop. And there is a logic problem there too if you fix that.
This comment is hidden because it contains spoiler information about the solution
\n in end of line is unnecessary
I was ill with covid, they say that it dulls, help me find the error:
Test Results:
sample_test
basic_tests
Expected:
1 * 5 = 5
2 * 5 = 10
3 * 5 = 15
4 * 5 = 20
5 * 5 = 25
6 * 5 = 30
7 * 5 = 35
8 * 5 = 40
9 * 5 = 45
10 * 5 = 50
Received:
1 * 5 = 5
2 * 5 = 10
3 * 5 = 15
4 * 5 = 20
5 * 5 = 25
6 * 5 = 30
7 * 5 = 35
8 * 5 = 40
9 * 5 = 45
10 * 5 = 50
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
For now have you understand it? If no i will write to explain
Just to check with ya as this is a post 3 hours go
This comment is hidden because it contains spoiler information about the solution
Loading more items...