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.
The Question is how can the code has mistakes when it runs correctly in Qt with the same array as input as in example.
Because you didn´t replay anything that could solve the problem
Hi everyone. When I run the code in my IDE(Qt) it shows the correct output, but when I run the code here, I get different output. Does someone encountered similar problem?
This comment is hidden because it contains spoiler information about the solution
int findOdd(const std::vector<int>& numbers) {
}
When I test this code in Qt with sample arrays it returns the correct value, but when I execute it here it doesn't. Any ideas why.
This comment is hidden because it contains spoiler information about the solution