Competitive Programming - cook the code

Monday 12 February 2018

Competitive Programming

2D matrix using vector:-

  •  vector <vector<int> > arr;
  • arr.resize(row,vector<int>(col));

// Use of "sort()" for sorting first row
    sort(arr[0].begin(), arr[0].end());


No comments:

Post a Comment