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.
C translation ☕☕
That has nothing to do with how the instructions are written. I find them confusing, hence my commentary. Thank you.
okay, well if you are that new to coding, don't work on yellow kata, stick with white kata, or work more on your basic skills first. just have reasonable expectations.
I have no idea what u're trying to say
This type of kata is a classic.
"a"
('dunno where you saw that one specifically) is coming from the input stream, I guess.data
thing..
is reading one element in the input stream and,
is writing something in the output stream. The input stream is provided as an argument, and the output "stream is what you're supposed to return.it's your job to figure out how you'll deesign the whole thing so that it can handle the requirements.
Cheers
@LearningFTW: please, if you close something, be sure to provide the correct information. Documentation about generic pointer will for sure help the user, here... (<<< ironic tone inside...)
Not an issue. A question to which the answer is : https://en.wikipedia.org/wiki/Pointer_(computer_programming)
In this case (most likely an array/list/something like that).
This comment is hidden because it contains spoiler information about the solution
Please read this: https://docs.codewars.com/training/troubleshooting#print-input
This comment is hidden because it contains spoiler information about the solution
As @Chrono79 said several times:
is said in the description.
Had the same kind of issue in C++. I tried 'if(array1.size() == 0 && array2.size() != 0) return false;' passed (though not compliant with instructions, cf issue)...
Godzilla knows the instructions are very 'unclear'.
Same remark as deniskaroms !!! UNIQUENESS of mapping in 'a', i.e. '2/2/3' ??? '4/9/9' ?? Stricly reading the instructions... should be = or != ??
FWIW, this wording probably doesn't help. I wouldn't expect most folks at this level to be familiar with terminology around multisets. The sample data definitely doesn't help in that regard.
This comment is hidden because it contains spoiler information about the solution
"comp(a, b) returns true because in b X is the square of Y, ... , and so on.",
"comp(a,b) returns false because in b X is not the square of any number of a"
And there is nothing about the UNIQUE mapping of an element from one array to an element from another array.
This cannot be understood either from the details or from the given simple cases.
Loading more items...