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.
This is an issue with your code. In your code,
arr
is a global variable, so when the code runs the second test, there are still values from the first test inarr
. You must not have been running more than one test locally, otherwise you'd see the same behavior in visual stuido.in cpp version code works fine locally on my visual studio and gives the right output while when i do test or attempt it gives wrong output on the site
Example Error:
Expected: equal to (1, 999, 999)
Actual: (1, 118, 999)
While it gives (1, 999, 999) on my visual studio
all error like this on the site when i tried it on my visual studio it gives the EXPECTED CORRECTLY!