bb.cpp: In function 'int main()':
bb.cpp:11:23: error: cannot convert 'std::pair<int, int>' to 'int' in assignment
bb.cpp:17:15: error: request for member 'first' in 'v.std::vector<_Tp, _Alloc>::operator[] [with _Tp = int, _Alloc = std::allocator<int>, std::vector<_Tp, _Alloc>::reference = int&, std::vector<_Tp, _Alloc>::size_type = long unsigned int](((long unsigned int)j))', which is of non-class type 'int'
bb.cpp:17:26: error: request for member 'first' in 'v.std::vector<_Tp, _Alloc>::operator[] [with _Tp = int, _Alloc = std::allocator<int>, std::vector<_Tp, _Alloc>::reference = int&, std::vector<_Tp, _Alloc>::size_type = long unsigned int](((long unsigned int)i))', which is of non-class type 'int'
bb.cpp:17:40: error: request for member 'second' in 'v.std::vector<_Tp, _Alloc>::operator[] [with _Tp = int, _Alloc = std::allocator<int>, std::vector<_Tp, _Alloc>::reference = int&, std::vector<_Tp, _Alloc>::size_type = long unsigned int](((long unsigned int)j))', which is of non-class type 'int'
bb.cpp:17:52: error: request for member 'first' in 'v.std::vector<_Tp, _Alloc>::operator[] [with _Tp = int, _Alloc = std::allocator<int>, std::vector<_Tp, _Alloc>::reference = int&, std::vector<_Tp, _Alloc>::size_type = long unsigned int](((long unsigned int)i))', which is of non-class type 'int'