CCC 2016 - Phonomenal Reviews

Author: Óscar Garries

Official Editorial

C++

C++ Implementation

1#include <bits/stdc++.h>
2
3using namespace std;
4
5const int MX = 1e5 + 5;
6
7vector<int> g[MX];
8int depth[MX];
9bool use[MX];
10int n, m, sol, node, mini, nodes;

Join the USACO Forum!

Stuck on a problem, or don't understand a module? Join the USACO Forum and get help from other competitive programmers!

Give Us Feedback on CCC 2016 - Phonomenal Reviews!