Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuprDewd/CompetitiveProgramming
/ empty
Method
empty
code/data-structures/monotonic_queue.cpp:9–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
int mn() { return M.top(); }
8
void pop() { S.pop(); M.pop(); }
9
bool empty() { return S.empty(); } };
10
struct min_queue {
11
min_stack inp, outp;
12
void push(int x) { inp.push(x); }
Callers
4
push
Method · 0.45
fix
Method · 0.45
mn
Method · 0.45
empty
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected