+ 1

Why doesn't this work?[SOLVED]

What's wrong with this code and how to make it work? https://code.sololearn.com/ca16a12A158a/?ref=app

31st Jan 2021, 7:39 PM
YourTimeIsComing
YourTimeIsComing - avatar
2 Answers
+ 4
YourTimeIsComing You can't add item in vector like that. I think it should be like this https://code.sololearn.com/c108zYtCLF88/?ref=app
31st Jan 2021, 7:56 PM
A͢J
A͢J - avatar
+ 2
I Am AJ ! Ohhh now I see. Thank you very much!!
31st Jan 2021, 7:59 PM
YourTimeIsComing
YourTimeIsComing - avatar