USACO Gold 2016 December - Moocast

Author: Óscar Garries

Official Analysis

C++

C++ Implementation

1#include <bits/stdc++.h>
2
3using namespace std;
4using ll = long long;
5
6const int maxN = 1e3;
7
8vector<int> x(maxN), y(maxN);
9vector<bool> visited(maxN);
10vector<vector<bool>> g(maxN, vector<bool>(maxN, false));

Give Us Feedback on USACO Gold 2016 December - Moocast!

Join the Discussion!

Feel free to voice your thoughts in the comments section.