0_0_29538679_8196.cpp:11:42: error: expected ')' before ']' token
int l[maxn],r[maxn],edge[maxx],cnt[(1<<22];
^
0_0_29538679_8196.cpp:11:43: error: expected ']' before ';' token
int l[maxn],r[maxn],edge[maxx],cnt[(1<<22];
^
0_0_29538679_8196.cpp: In function 'int check(std::string)':
0_0_29538679_8196.cpp:16:18: error: cannot convert 'std::string {aka std::basic_string<char>}' to 'int' for argument '1' to 'int lowbit(int)'
int now=lowbit(s);
^
0_0_29538679_8196.cpp:21:16: error: no match for 'operator&' (operand types are 'int' and 'std::string {aka std::basic_string<char>}')
now|=edge[ki]&s;
^
0_0_29538679_8196.cpp:21:16: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42:0,
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_29538679_8196.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:75:3: note: constexpr std::_Ios_Fmtflags std::operator&(std::_Ios_Fmtflags, std::_Ios_Fmtflags)
operator&(_Ios_Fmtflags __a, _Ios_Fmtflags __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:75:3: note: no known conversion for argument 2 from 'std::string {aka std::basic_string<char>}' to 'std::_Ios_Fmtflags'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:115:3: note: constexpr std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)
operator&(_Ios_Openmode __a, _Ios_Openmode __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:115:3: note: no known conversion for argument 2 from 'std::string {aka std::basic_string<char>}' to 'std::_Ios_Openmode'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:153:3: note: constexpr std::_Ios_Iostate std::operator&(std::_Ios_Iostate, std::_Ios_Iostate)
operator&(_Ios_Iostate __a, _Ios_Iostate __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:153:3: note: no known conversion for argument 2 from 'std::string {aka std::basic_string<char>}' to 'std::_Ios_Iostate'
0_0_29538679_8196.cpp:23:12: error: no match for 'operator==' (operand types are 'int' and 'std::string {aka std::basic_string<char>}')
return now==s;
^
0_0_29538679_8196.cpp:23:12: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
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_29538679_8196.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
operator==(const std::normal_distribution<_RealType>& __d1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
0_0_29538679_8196.cpp:23:14: note: mismatched types 'const std::normal_distribution<_RealType>' and 'int'
return now==s;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
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_29538679_8196.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1511:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1511:5: note: template argument deduction/substitution failed:
0_0_29538679_8196.cpp:23:14: note: mismatched types 'const std::vector<_Tp, _Alloc>' and 'int'
return now==s;
^
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_29538679_8196.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
0_0_29538679_8196.cpp:23:14: note: mismatched types 'const std::istreambuf_iterator<_CharT, _Traits>' and 'int'
return now==s;
^
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++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
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_29538679_8196.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2538:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2538:5: note: template argument deduction/substitution failed:
0_0_29538679_8196.cpp:23:14: note: mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'int'
return now==s;
^
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++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
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_29538679_8196.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2526:5: note: template<class _CharT, class _Traits, class _Alloc> bool 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.h:2526:5: note: template argument deduction/substitution failed:
0_0_29538679_8196.cpp:23:14: note: mismatched types 'const _CharT*' and 'int'
return now==s;
^
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++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
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_29538679_8196.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2512:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
operator==(const basic_string<_CharT>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2512:5: note: template argument deduction/substitution failed:
0_0_29538679_8196.cpp:23:14: note: mismatched types 'const std::basic_string<_CharT>' and 'int'
return now==s;
^
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++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
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_29538679_8196.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c+
|