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.
8 kyu for now...
https://www.codewars.com/kata/reviews/5b9ce60d5c9ff99da300212e/groups/5b9d274b5c9ff9adec0003fb
Please clean up the initial code, especially
#include <iostream>
andusing namespace std;
;-)Needs Random Tests.
I solved the issue deleting global variables.
Hi, i'm think my solution is correct and i execute but get invalid answer. I printed testcases and it gives correct answer in my computer but in the Codewars execution gives other values, i have no idea why this is happening.