0_0_37880261_15922.cpp:29:10: error: conflicting declaration 'll f [100009][2]'
ll f[N][2];
^
0_0_37880261_15922.cpp:27:12: note: previous declaration as 'std::vector<std::pair<long long int, long long int> > f [100009]'
vector<pr> f[N];
^
0_0_37880261_15922.cpp: In function 'void dfs(int, int)':
0_0_37880261_15922.cpp:56:20: error: no match for 'operator=' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> > >::value_type {aka std::pair<long long int, long long int>}' and 'const ll {aka const long long int}')
f[x][0] = f[x][1] = oo;
^
0_0_37880261_15922.cpp:56:20: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_37880261_15922.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:158:7: note: std::pair<_T1, _T2>& std::pair<_T1, _T2>::operator=(const std::pair<_T1, _T2>&) [with _T1 = long long int; _T2 = long long int]
operator=(const pair& __p)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:158:7: note: no known conversion for argument 1 from 'const ll {aka const long long int}' to 'const std::pair<long long int, long long int>&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:166:7: note: std::pair<_T1, _T2>& std::pair<_T1, _T2>::operator=(std::pair<_T1, _T2>&&) [with _T1 = long long int; _T2 = long long int]
operator=(pair&& __p)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:166:7: note: no known conversion for argument 1 from 'const ll {aka const long long int}' to 'std::pair<long long int, long long int>&&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:177:2: note: template<class _U1, class _U2> std::pair<_T1, _T2>& std::pair<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = long long int; _T2 = long long int]
operator=(const pair<_U1, _U2>& __p)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:177:2: note: template argument deduction/substitution failed:
0_0_37880261_15922.cpp:56:20: note: mismatched types 'const std::pair<_T1, _T2>' and 'const ll {aka const long long int}'
f[x][0] = f[x][1] = oo;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_37880261_15922.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:186:2: note: template<class _U1, class _U2> std::pair<_T1, _T2>& std::pair<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = long long int; _T2 = long long int]
operator=(pair<_U1, _U2>&& __p)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:186:2: note: template argument deduction/substitution failed:
0_0_37880261_15922.cpp:56:20: note: mismatched types 'std::pair<_T1, _T2>' and 'const ll {aka const long long int}'
f[x][0] = f[x][1] = oo;
^
0_0_37880261_15922.cpp:70:7: error: no match for 'operator+=' (operand types are 'll {aka long long int}' and '__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> > >::value_type {aka std::pair<long long int, long long int>}')
sb += f[y][1];
^
0_0_37880261_15922.cpp:71:19: error: no match for 'operator+' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' and 'const std::pair<long long int, long long int>')
s[i + 1] = s[i] + min(f[y][0], f[y][1]);
^
0_0_37880261_15922.cpp:71:19: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_37880261_15922.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:334:5: note: template<class _Iterator> std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&)
operator+(typename reverse_iterator<_Iterator>::difference_type __n,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:334:5: note: template argument deduction/substitution failed:
0_0_37880261_15922.cpp:71:41: note: 'const std::pair<long long int, long long int>' is not derived from 'const std::reverse_iterator<_Iterator>'
s[i + 1] = s[i] + min(f[y][0], f[y][1]);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_37880261_15922.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1135:5: note: template<class _Iterator> std::move_iterator<_Iterator> std::operator+(typename std::move_iterator<_Iterator>::difference_type, const std::move_iterator<_Iterator>&)
operator+(typename move_iterator<_Iterator>::difference_type __n,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1135:5: note: template argument deduction/substitution failed:
0_0_37880261_15922.cpp:71:41: note: 'const std::pair<long long int, long long int>' is not derived from 'const std::move_iterator<_Iterator>'
s[i + 1] = s[i] + min(f[y][0], f[y][1]);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_37880261_15922.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2384:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2384:5: note: template argument deduction/substitution failed:
0_0_37880261_15922.cpp:71:41: note: mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}'
s[i + 1] = s[i] + min(f[y][0], f[y][1]);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:53:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_37880261_15922.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:692:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator+(const _CharT* __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:692:5: note: template argument deduction/substitution failed:
0_0_37880261_15922.cpp:71:41: note: mismatched types 'const _CharT*' and 'long long int'
s[i + 1] = s[i] + min(f[y][0], f[y][1]);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:53:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_37880261_15922.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:708:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:708:5: note: template argument deduction/substitution failed:
0_0_37880261_15922.cpp:71:41: note: 'const std::pair<long long int, long long int>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
s[i + 1] = s[i] + min(f[y][0], f[y][1]);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_37880261_15922.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2421:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basi
|