USACO Silver 2016 January - Angry Cows

Author: Óscar Garries

Official Analysis

C++

Implementation

#include <bits/stdc++.h>
using namespace std;
int main () {
freopen("angry.in", "r", stdin);
freopen("angry.out", "w", stdout);
int n, k;
cin >> n >> k;

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!