Skip to content

Instantly share code, notes, and snippets.

@ileasile
Created April 10, 2017 13:26
Show Gist options
  • Save ileasile/4be9d7d19a58b2fc5165c71336f0ef88 to your computer and use it in GitHub Desktop.
Save ileasile/4be9d7d19a58b2fc5165c71336f0ef88 to your computer and use it in GitHub Desktop.
FOR DANIL
if (g[u].size() <= 1 || g[v].size() <= 1 ||
g[b.first].size() <= 1 || g[b.second].size() <= 1 ||
(u == b.first || u == b.second) && g[u].size() <= 2 ||
(v == b.first || v == b.second) && g[v].size() <= 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment