Please tell us your code properly marked up and spoilered, the language, the input, actual and expected output for the test you're having problems with, and how you know that this is a kata issue and not a your solution issue ( "my code runs fine locally" is not a good answer. you have to practically know that the kata is wrong ). Help us help you!
If it's not a kata issue, it's a Question, not an Issue. Closing for now.
Please tell us your code properly marked up and spoilered, the language, the input, actual and expected output for the test you're having problems with, and how you know that this is a kata issue and not a your solution issue ( "my code runs fine locally" is not a good answer. you have to practically know that the kata is wrong ). Help us help you!
If it's not a kata issue, it's a
Question
, not anIssue
. Closing for now.This comment is hidden because it contains spoiler information about the solution
same, tried my method in VS and seems to be working fine.
No int cast needed in this case ;)