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.
Thank you very much !! :)
As I said above: your solution has a bug. The variable
a
is not initialized, and on the first loop run, the expressioni < a
is undefined. Use of unitialized variables is an undefined behavior (i.e. a bug).You need to fix the bug in your solution.
This comment is hidden because it contains spoiler information about the solution
What language is this? If this is C++, then it is not correct. Use of an uninitialized variable is an error. Your Visual Studio should emit an appropriate warning?
It's a bug in your solution, not a kata issue.
This comment is hidden because it contains spoiler information about the solution