Problem 3raptors
User gohchingjayk
Submission Time 2026-08-10 22:17:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3raptors.cpp:13:28: error: overflow in constant expression [-fpermissive]
13 | constexpr int INF = 1e18 + 5;
| ^
3raptors.cpp:13:28: error: overflow in constant expression [-fpermissive]
3raptors.cpp: In member function ‘void DS::answer()’:
3raptors.cpp:111:48: error: no matching function for call to ‘max(std::tuple_element<0, std::pair<int, int> >::type, long long int)’
111 | int left = fst.range_qry(max(y - K + N, 0ll), y + N);
| ^
In file included from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from 3raptors.cpp:2:
/usr/include/c++/9/bits/stl_algobase.h:222:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)’
222 | max(const _Tp& __a, const _Tp& _