Giving error in initialisation of vector on VS code?

This code works fine on coding blocks IDE but gives an error on VS code(that the initialisation of vector is wrong)

I am not able to find any problem in your code. you can just use sublime to debug and run c++.

see this.

thanks.

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.