USACO January 2018 Silver - Mootube

Author: Óscar Garries

Official Editorial: http://www.usaco.org/current/data/sol_mootube_silver_jan18.html

C++

C++ Implementation

#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
vector<pair<int, int>> g[5001];
vector<bool> visited(5001);
int k, v, sol;

Give Us Feedback on USACO January 2018 Silver - Mootube!