USACO Bronze 2016 January - Promotion Counting
Authors: Danh Ta Chi Thanh, Lin Jiang, Neo Wang
Video Solution
By Neo Wang
Video Solution Code
Implementation
#include <cstdio>#include <iostream>using namespace std;int main() {// initialize file I/Oios_base::sync_with_stdio(0);cin.tie(0); // see Fast Input & Outputfreopen("promote.in", "r", stdin);freopen("promote.out", "w", stdout);
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!