0_0_38900868_25284.cpp: In function 'void add_sub(int, int, int, double)':
0_0_38900868_25284.cpp:32:25: error: 'max' was not declared in this scope
32 | t[id].subt[rt].mx = max(love,t[id].subt[rt].mx);
| ^~~
0_0_38900868_25284.cpp:32:25: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:61,
from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:5805:5: note: 'std::max'
5805 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:63:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algo.h:2928:29: note: 'std::ranges::max'
2928 | inline constexpr __max_fn max{};
| ^~~
0_0_38900868_25284.cpp: In function 'double sear(int, int, int, int)':
0_0_38900868_25284.cpp:54:17: error: 'max' was not declared in this scope
54 | else return max(sear(id,rt<<1,ll,mid), sear(id,rt<<1|1,mid+1,rr));
| ^~~
0_0_38900868_25284.cpp:54:17: note: suggested alternatives:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:5805:5: note: 'std::max'
5805 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algo.h:2928:29: note: 'std::ranges::max'
2928 | inline constexpr __max_fn max{};
| ^~~
0_0_38900868_25284.cpp: In function 'double query(int, int, int, int, int)':
0_0_38900868_25284.cpp:63:17: error: 'max' was not declared in this scope
63 | else return max(query(id<<1,l,mid,ll,rr), query(id<<1|1,mid+1,r,ll,rr));
| ^~~
0_0_38900868_25284.cpp:63:17: note: suggested alternatives:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:5805:5: note: 'std::max'
5805 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algo.h:2928:29: note: 'std::ranges::max'
2928 | inline constexpr __max_fn max{};
| ^~~
0_0_38900868_25284.cpp: In function 'int main()':
0_0_38900868_25284.cpp:85:26: error: 'swap' was not declared in this scope
85 | if(h1>h2)swap(h1,h2);//trickŁĄ
| ^~~~
0_0_38900868_25284.cpp:85:26: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/regex:68,
from .\stdc++.h:181:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/regex.h:2230:5: note: 'std::__cxx11::swap'
2230 | swap(match_results<_Bi_iter, _Alloc>& __lhs,
| ^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:61,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/move.h:196:5: note: 'std::swap'
196 | swap(_Tp& __a, _Tp& __b)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/move.h:196:5: note: 'std::swap'
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/compare:37,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:65:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:243:43: note: 'std::ranges::__cust::swap'
243 | inline constexpr __cust_swap::_Swap swap{};
| ^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/exception:164,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/stdexcept:38,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/system_error:43,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:46,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/streambuf:43,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/streambuf_iterator.h:35,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iterator:66,
from .\stdc++.h:54:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/exception_ptr.h:230:5: note: 'std::__exception_ptr::swap'
230 | swap(exception_ptr& __lhs, exception_ptr& __rhs)
| ^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/filesystem:47,
from .\stdc++.h:200:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/fs_path.h:732:15: note: 'std::filesystem::__cxx11::swap'
732 | inline void swap(path& __lhs, path& __rhs) noexcept { __lhs.swap(__rhs); }
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:183:35: note: 'std::ranges::__cust_swap::swap'
183 | template<typename _Tp> void swap(_Tp&, _Tp&) = delete;
| ^~~~
0_0_38900868_25284.cpp:86:26: error: 'swap' was not declared in this scope
86 | if(y1>y2)swap(y1,y2);
| ^~~~
0_0_38900868_25284.cpp:86:26: note: suggested alternatives:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/regex.h:2230:5: note: 'std::__cxx11::swap'
2230 | swap(match_results<_Bi_iter, _Alloc>& __lhs,
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/move.h:196:5: note: 'std::swap'
196 | swap(_Tp& __a, _Tp& __b)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/move.h:196:5: note: 'std::swap'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:243:43: note: 'std::ranges::__cust::swap'
243 | inline constexpr __cust_swap::_Swap swap{};
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/exception_ptr.h:230:5: note: 'std::__exception_ptr::swap'
230 | swap(exception_ptr& __lhs, exception_ptr& __rhs)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/fs_path.h:732:15: note: 'std::filesystem::__cxx11::swap'
732 | inline void swap(path& __lhs, path& __rhs) noexcept { __lhs.swap(__rhs); }
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:183:35: note: 'std::ranges::__cust_swap::swap'
183 | template<typename _Tp> void swap(_Tp&, _Tp&) = delete;
| ^~~~
|