How to take input in this Problem in Google APAC Round A

Revision en1, by Abhi_Sarkar1996, 2017-08-27 11:37:04

Hello all.I was solving this problem https://code.google.com/codejam/contest/11274486/dashboard#s=p0 which needs to input vector of strings containing spaces. So i was using getline(cin,string_name) but could not take the input properly. The first element in vector shows as null string .Can anyone help me with this.Thanks.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Abhi_Sarkar1996 2017-08-27 11:38:23 155
en1 English Abhi_Sarkar1996 2017-08-27 11:37:04 382 Initial revision (published)