Kindly help with the code

code


prob
https://codeforces.com/problemset/problem/208/A

this code showed runtime error with microsoft visual c++ 17 but got accepted with gnuc++17
why so
also tell which one should i use gnu or microsoft

always select GNU G++ at codeforces before submitting solution

what is the reason ?

GNU G++ takes less time and more optimized than microsoft visual c++

you can also read this

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.