0_0_23638718_8139.cpp: In function 'int main()':
0_0_23638718_8139.cpp:30:30: error: invalid conversion from 'int*' to 'std::vector<int>::size_type {aka long long unsigned int}' [-fpermissive]
a[i] = std::vector<int>(v+1);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from 0_0_23638718_8139.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:277:7: note: initializing argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = long long unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<int>]'
vector(size_type __n, const allocator_type& __a = allocator_type())
^
|