Skip to content

Instantly share code, notes, and snippets.

@AlexErofeev
AlexErofeev / graph.h
Created December 10, 2012 20:19 — forked from IlyaKornakov/graph.h
Tarjan Subtree Decomposition
#ifndef GRAPH_H_
#define GRAPH_H_
#include <algorithm>
#include <cstdio>
#include <string>
#include <stdexcept>
namespace sp {
class Graph {