0_0_36527829_27892.cpp: In function 'void build(long long int, long long int, long long int)':
0_0_36527829_27892.cpp:59:23: error: call of overloaded '__lg(ll&)' is ambiguous
ll t1 =1<<(__lg(a[l]));
^
0_0_36527829_27892.cpp:59:23: note: candidates are:
0_0_36527829_27892.cpp:47:5: note: long long int __lg(long long int)
int __lg(int x){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
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_36527829_27892.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1026:3: note: constexpr long long unsigned int std::__lg(long long unsigned int)
__lg(unsigned long long __n)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1022:3: note: constexpr long long int std::__lg(long long int)
__lg(long long __n)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1018:3: note: constexpr long unsigned int std::__lg(long unsigned int)
__lg(unsigned long __n)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1014:3: note: constexpr long int std::__lg(long int)
__lg(long __n)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1010:3: note: constexpr unsigned int std::__lg(unsigned int)
__lg(unsigned __n)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1006:3: note: constexpr int std::__lg(int)
__lg(int __n)
^
|