Here, you can find solutions to USACO contests and training.
The files in the table are the original file names, but some files in this repository have prefixes. Additional remarks may be found in subfolders; the following tables are just summarizations.
Month | Problem Name | File | Result |
---|---|---|---|
November 2012 | 1: Find the Cow! | cowfind.cpp |
*********t 9/10 |
2: Typo | typo.cpp |
******tttt 6/10 |
|
3: Horseshoes | hshoe.cpp |
**x***x*** 8/10 |
|
December 2012 | 1: Meet and Greet | greetings.cpp |
********** 10/10 |
2: Scrambled Letters | scramble.cpp |
*xxxxxtttt 1/10 |
|
3: Crazy Fences | crazy.cpp |
xsxssssssx 0/10 |
|
February 2013 | 1: Message Relay | relay.cpp |
********** 10/10 |
2: Cow Crossings | crossings.cpp |
*xx*xxxxxxttttt 2/15 |
|
3: Perimeter | perimeter.cpp |
*xxxxxxxxx 1/10 |
|
November 2013 | 1: Combination Lock | combo.cpp |
*x*xxxx**x 4/10 |
1: Combination Lock (Correction) | combo2.cpp |
********** 10/10 |
|
1: Combination Lock (Correction 2) | combo3.cpp |
********** 10/10 |
|
2: Goldilocks and the N Cows | milktemp.cpp |
*******ttt 7/10 |
|
3: Farmer John has no Large Brown Cow | nocow.cpp |
**ssx*ssss 3/10 |
|
December 2013 | 1: Record Keeping | records.cpp |
********** 10/10 |
2: Cow Baseball | baseball.cpp |
*xxxxxxxxx 1/10 |
|
3: Wormholes | wormhole.cpp |
incomplete |
|
January 2014 | 1: Ski Course Design | skidesign.cpp |
********** 10/10 |
2: Bessie Slows Down | slowdown.cpp |
*xxxxxxxxx 1/10 |
|
3: Balanced Teams | bteams.cpp |
incomplete |
|
February 2014 | 1: Mirror Field | mirror.cpp |
**x*x***** 8/10 |
2: Auto-complete | auto.cpp |
*****tt**t 7/10 |
|
3: Secret Code | scode.cpp |
********** 10/10 |
Month | Problem Name | File | Result |
---|---|---|---|
March 2014 | 2: The Lazy Cow | lazy.cpp |
*****ttttt 5/10 |
3: Mooo Moo | mooomoo.cpp |
incomplete |
|
April 2014 | 1: Fair Photography | fairphoto.cpp |
*****t*ttt 6/10 |
(US Open) | 2: Dueling GPSs | gpsduel.cpp |
incomplete |
April 2015 | 1: Bessie Goes Moo | bgm.cpp |
incomplete |
(US Open) | 2: Trapped in the Haybales | trapped.cpp |
****tttttttttt 4/14 |
December 2015 | 1: Switching on the Lights | lightson.cpp |
*************** 15/15 |
2: High Card Wins | highcard.cpp |
*************** 15/15 |
|
3: Breed Counting | bcount.cpp |
*************** 15/15 |
Month | Problem Name | File | Result |
---|---|---|---|
December 2015 | 1: High Card Low Card | cardgame.cpp |
*************** 15/15 |
2: Fruit Feast | feast.cpp |
************ 12/12 |
|
3: Bessie's Dream | dream.cpp |
**************** 16/16 |
Month | Problem Name | File | Result |
---|---|---|---|
December 2015 | 1: Max Flow | maxflow.cpp |
******ttttttttt 6/15 |
2: High Card Low Card | cardgame.cpp |
***x*tttttttttt 4/15 |
|
3: Counting Haybales | haybales.cpp |
***ttttttt 3/10 |
Chapter | Section | File | Problem |
---|---|---|---|
Chapter 1 | Section 1.1 | test.c |
Submitting Solutions |
ride.c |
108: Your Ride Is Here |
Chapter | Section | File | Problem |
---|---|---|---|
Chapter 1 | Section 1.1 | submit.cpp |
Submitting Solutions |
ride.cpp |
Problem 108: Your Ride Is Here | ||
gift1.cpp |
Problem 77: Greedy Gift Givers | ||
friday.cpp |
Problem 109: Friday the Thirteenth | ||
beads.cpp |
Problem 99: Broken Necklace | ||
Section 1.2 | milk2.cpp |
Problem 101: Milking Cows | |
transform.cpp |
Problem 75: Transformations | ||
namenum.cpp |
Problem 29: Name That Number | ||
palsquare.cpp |
Problem 81: Palindromic Squares | ||
dualpal.cpp |
Problem 90: Dual Palindromes | ||
Section 1.3 | milk.cpp |
Problem 76: Mixing Milk |