MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / top

Method top

code/data-structures/monotonic_queue.cpp:16–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 if (outp.empty()) while (!inp.empty())
15 outp.push(inp.top()), inp.pop(); }
16 int top() { fix(); return outp.top(); }
17 int mn() {
18 if (inp.empty()) return outp.mn();
19 if (outp.empty()) return inp.mn();

Callers

nothing calls this directly

Calls 1

topMethod · 0.45

Tested by

no test coverage detected