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.
oh .. thanks for help I finally got it. :)
I count not_touched like missed shots and not like not touched boats.
expected is:
which seems pretty much consistent to me. ;)
int[,] attacks = { { 2, 1 }, { 2, 2 }, { 3, 2 }, { 3, 3 } };
so when I get this attacks result is
3 0 1
3 0 0
0 0 0
0 0 0
but there is no miss. Every attack hit the boat or am I wrong ?
Yes, that's it.
;)
x 1 2 3
y
4 3 0 1
3 3 0 1
2 0 2 1
1 0 2 0
attack= { {x, y } };
so .. numbers in attacks are represented in this grid, aren't they ?
Should be good, now.
meaning, something like this as for a 3x6 grid?
If so, read the description again. If not, please let me know.
EDIT: ok, I've seen it. I'll take care of that and keep you posted.
This comment is hidden because it contains spoiler information about the solution