Page not loading? Try clicking here.
Placeholder

#1897

Aggressive cows 1s 128MB

Problems


Example

5 3 

1
2
8
4
9
3

Source

USACO February 2005 Gold

You must sign in to write code.