+ 2

[SOLVED] Why do lines 14 or 15 of the following code not work on code playground?

https://code.sololearn.com/cCv63YN8ZIo8/?ref=app

11th Nov 2019, 8:53 AM
Sonic
Sonic - avatar
3 Réponses
+ 5
Both lines worked for me after including <vector>. Are you sure the problem is not the missing inclusion of the <vector> header?
11th Nov 2019, 9:04 AM
Shadow
Shadow - avatar
+ 6
Shadow yes you are right! It was simply a case of the missing header. Thanks!
11th Nov 2019, 9:06 AM
Sonic
Sonic - avatar
+ 3
No problem, happens. XD
11th Nov 2019, 9:08 AM
Shadow
Shadow - avatar