title: What is the efficient way to take 2d vector input in c++?
body: <pre><code>3    //number of lines
  1 2  
  2 1
  4 5
  </code></pre>
  <p>I want to store the n lines as a 2d vector, what is the best way to do it?</p>