MCPcopy Create free account
hub / github.com/atcoder/ac-library / empty

Method empty

atcoder/internal_queue.hpp:15–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 void reserve(int n) { payload.reserve(n); }
14 int size() const { return int(payload.size()) - pos; }
15 bool empty() const { return pos == int(payload.size()); }
16 void push(const T& t) { payload.push_back(t); }
17 T& front() { return payload[pos]; }
18 void clear() {

Callers 4

flowMethod · 0.80
min_cutMethod · 0.80
groupsMethod · 0.80
slopeMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected