+ 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
2 Réponses
+ 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
+ 1
DHANANJAY PATEL That worked. Thanks! Not sure why I used integers tbh, lol