MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / FlowEdge

Class FlowEdge

HackerEarth_problems/New Friends/solution.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#define ull unsigned long long int
37#define mod 1000000007
38struct FlowEdge {
39 int v, u;
40 long long cap, flow = 0;
41 FlowEdge(int v, int u, long long cap) : v(v), u(u), cap(cap) {}
42};
43const ll INF=1e15;
44struct Dinic {
45 const long long flow_inf = 1e18;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected