American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – USACO Bronze – Darin

November 13 @ 7:00 pm - 8:00 pm

What We Did Today:

  1. Implemented the Cow College optimal solution.
  2. Went through the feeding cows problem.

Homework:

  1. Code up the optimal solution for Feeding The Cows, and submit your answer to the webpage and google drive when you are finished
    problem: https://usaco.org/index.php?page=viewproblem2&cpid=1252 

    Key idea for implementation: Run a greedy algorithm where you place the food source as far away as possible to the right.

    Think about how to handle edge cases at the very end of the cow list.

  2. Read through this problem for next week: https://usaco.org/index.php?page=viewproblem2&cpid=1371

Notes:

You can reach out to me at ddjapri@ayclogic.com if you have any questions!

You can find class notes here (Tues7PM_IntroToCompProgramming is our excel sheet for visuals).

Details

Date:
November 13
Time:
7:00 pm - 8:00 pm
Event Categories:
,