USACO / Competitive Programming
This section contains my solutions to USACO (USA Computing Olympiad) problems. USACO is one of the premier competitive programming contests in the United States, featuring problems that test algorithmic thinking, data structure knowledge, and problem-solving skills across four difficulty levels: Bronze, Silver, Gold, and Platinum.
Each solution includes the complete C++ implementation. The problems are organized by difficulty level, and you can filter by division to find problems at your level. These solutions represent my journey through competitive programming, capturing the key algorithmic insights and implementation techniques required for each problem.
All solutions are available on GitHub.
Cow Navigation
USACO 2017 January Contest, Gold
Key Idea: BFS with state representation including position, direction, and whether each cow has reached the goal
Haybale Stacking
USACO Silver
Key Idea: Solution implementation
Problem 2 Hoof Paper Scissors
USACO Silver
Key Idea: Solution implementation
Problem 2 Subsequences Summing To Sevens
USACO Silver
Key Idea: Solution implementation
Problem 2 Why Did The Cow Cross The Road II
USACO Silver
Key Idea: Solution implementation
Problem 3 Breed Counting
USACO Silver
Key Idea: Solution implementation
Static Range Sum
USACO Silver
Key Idea: Solution implementation
Subarray Divisibility
USACO Silver
Key Idea: Solution implementation
Subarray Sums II
USACO Silver
Key Idea: Solution implementation
Problem 1 Shell Game
USACO Bronze
Key Idea: Solution implementation