0_0_25840809_12760.cpp: In function 'void solve()':
0_0_25840809_12760.cpp:125:26: error: cannot convert 'long long int (*)[51]' to 'long long int (*)[1024]' for argument '1' to 'void build(long long int (*)[1024], int, int, int)'
build(seg1, 0, 0, 511);
^
0_0_25840809_12760.cpp:147:26: error: cannot convert 'long long int (*)[51]' to 'long long int (*)[1024]' for argument '1' to 'void build(long long int (*)[1024], int, int, int)'
build(seg2, 0, 0, 511);
^
0_0_25840809_12760.cpp:164:56: error: no matching function for call to 'find(long long int [51][51], int, int, int, int&, int, int, int)'
ans = find(seg1, 0, y-l, y-1, xx, xx+l-1, 0,511);
^
0_0_25840809_12760.cpp:164:56: note: candidates are:
0_0_25840809_12760.cpp:85:11: note: long long int find(long long int (*)[1024], int, int, int, int, int, int, int)
long long find(long long seg[][1024], int node, int qlx, int qrx, int qly, int qry, int l, int r){
^
0_0_25840809_12760.cpp:85:11: note: no known conversion for argument 1 from 'long long int [51][51]' to 'long long int (*)[1024]'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_facets.h:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:37,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:44,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25840809_12760.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:369:5: note: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
find(istreambuf_iterator<_CharT> __first,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:369:5: note: template argument deduction/substitution failed:
0_0_25840809_12760.cpp:164:56: note: mismatched types 'std::istreambuf_iterator<_CharT>' and 'long long int (*)[51]'
ans = find(seg1, 0, y-l, y-1, xx, xx+l-1, 0,511);
^
0_0_25840809_12760.cpp:165:64: error: no matching function for call to 'find(long long int [51][51], int, int, int, int, int, int, int)'
ans |= find(seg1,0, y-1, y+l-2, xx+l-1, xx+2*l-2, 0,511);
^
0_0_25840809_12760.cpp:165:64: note: candidates are:
0_0_25840809_12760.cpp:85:11: note: long long int find(long long int (*)[1024], int, int, int, int, int, int, int)
long long find(long long seg[][1024], int node, int qlx, int qrx, int qly, int qry, int l, int r){
^
0_0_25840809_12760.cpp:85:11: note: no known conversion for argument 1 from 'long long int [51][51]' to 'long long int (*)[1024]'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_facets.h:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:37,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:44,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25840809_12760.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:369:5: note: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
find(istreambuf_iterator<_CharT> __first,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:369:5: note: template argument deduction/substitution failed:
0_0_25840809_12760.cpp:165:64: note: mismatched types 'std::istreambuf_iterator<_CharT>' and 'long long int (*)[51]'
ans |= find(seg1,0, y-1, y+l-2, xx+l-1, xx+2*l-2, 0,511);
^
0_0_25840809_12760.cpp:168:63: error: no matching function for call to 'find(long long int [51][51], int, int, int, int, int, int, int)'
ans |= find(seg2,0, y-l, y-1, xx+l-1, xx+2*l-2, 0, 511);
^
0_0_25840809_12760.cpp:168:63: note: candidates are:
0_0_25840809_12760.cpp:85:11: note: long long int find(long long int (*)[1024], int, int, int, int, int, int, int)
long long find(long long seg[][1024], int node, int qlx, int qrx, int qly, int qry, int l, int r){
^
0_0_25840809_12760.cpp:85:11: note: no known conversion for argument 1 from 'long long int [51][51]' to 'long long int (*)[1024]'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_facets.h:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:37,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:44,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25840809_12760.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:369:5: note: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
find(istreambuf_iterator<_CharT> __first,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:369:5: note: template argument deduction/substitution failed:
0_0_25840809_12760.cpp:168:63: note: mismatched types 'std::istreambuf_iterator<_CharT>' and 'long long int (*)[51]'
ans |= find(seg2,0, y-l, y-1, xx+l-1, xx+2*l-2, 0, 511);
^
0_0_25840809_12760.cpp:169:60: error: no matching function for call to 'find(long long int [51][51], int, int, int, int&, int, int, int)'
ans |= find(seg2,0, y-1, y+l-2, xx, xx+l-1, 0, 511);
^
0_0_25840809_12760.cpp:169:60: note: candidates are:
0_0_25840809_12760.cpp:85:11: note: long long int find(long long int (*)[1024], int, int, int, int, int, int, int)
long long find(long long seg[][1024], int node, int qlx, int qrx, int qly, int qry, int l, int r){
^
0_0_25840809_12760.cpp:85:11: note: no known conversion for argument 1 from 'long long int [51][51]' to 'long long int (*)[1024]'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_facets.h:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:37,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:44,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25840809_12760.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:369:5: note: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)
find(istreambuf_iterator<_CharT> __first,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:369:5: note: template argument deduction/substitution failed:
0_0_25840809_12760.cpp:169:60: note: mismatched types 'std::istreambuf_iterator<_CharT>' and 'long long int (*)[51]'
ans |= find(seg2,0, y-1, y+l-2, xx, xx+l-1, 0, 511);
^
|