0_0_38358404_28693.cpp: In function 'int main()':
0_0_38358404_28693.cpp:64:3: error: no match for 'operator=' (operand types are 'std::vector<std::vector<long long int> >' and 'std::vector<std::vector<int> >')
g=vector<vector<int>>(n,vector<int>(n));
^
0_0_38358404_28693.cpp:64:3: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:69:0,
from 0_0_38358404_28693.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:167:5: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = std::vector<long long int>; _Alloc = std::allocator<std::vector<long long int> >]
vector<_Tp, _Alloc>::
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:167:5: note: no known conversion for argument 1 from 'std::vector<std::vector<int> >' to 'const std::vector<std::vector<long long int> >&'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from 0_0_38358404_28693.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:448:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = std::vector<long long int>; _Alloc = std::allocator<std::vector<long long int> >]
operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:448:7: note: no known conversion for argument 1 from 'std::vector<std::vector<int> >' to 'std::vector<std::vector<long long int> >&&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:470:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = std::vector<long long int>; _Alloc = std::allocator<std::vector<long long int> >]
operator=(initializer_list<value_type> __l)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:470:7: note: no known conversion for argument 1 from 'std::vector<std::vector<int> >' to 'std::initializer_list<std::vector<long long int> >'
|