title: new int[size] vs std::vector
body: <p>To allocate dynamic memory, I have been using vectors all this time in C++.
  But recently, while reading some source code, I found the use of "new int[size]" and on some research, found that it too allocates dynamic memory.</p>
  
  <p>Can anyone give me advice as to which is better? I am looking from an algorithmic and ICPC point of view?</p>