USACO Silver 2018 Open - Lemonade Line
Author: Mrinall Umasudhan
Implementation
C++
See official editorial: http://www.usaco.org/current/data/sol_lemonade_silver_open18.html
Java
1import java.io.*;2import java.util.*;3class cows {4 int vals;5 public cows(int vals)6 {7 this.vals = vals;8 }9 public int getVals(){10 return this.vals;
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!