+ 2

Mathematics code coach help

Can anyone tell me why my code might be failing a few of the test cases? https://code.sololearn.com/c8144Om2JIAS/?ref=app

16th Jun 2020, 6:13 AM
Daniel Cooper
Daniel Cooper - avatar
2 ответов
+ 1
Daniel Cooper Code seems good Only one thing I doubt is that in Main function line 40 Comparison of Int32 parsed value and target (int) Why don't compare both in string value may be value might be more than 32 bit so it might be failing in few cases Suggestion Compare String values
17th Jun 2020, 8:52 AM
THANK YOU
THANK YOU - avatar
+ 1
DHANANJAY PATEL That worked. Thanks! Not sure why I used integers tbh, lol
17th Jun 2020, 8:55 AM
Daniel Cooper
Daniel Cooper - avatar