American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM – Intro To Competitive Programming – Gamas

April 6 @ 3:00 pm - 4:00 pm

Today We Did
  1. We reviewed the full score algorithm (no code yet) for Milk Exchange USACO Feb 24 Bronze problem (https://usaco.org/index.php?page=viewproblem2&cpid=1396)
  2. We reviewed the full score algorithm (partial code) for Maximizing Productivity USACO Feb 24 Bronze problem (https://usaco.org/index.php?page=viewproblem2&cpid=1397)
Homework
  1. Try to implement the full score solution for Milk Exchange USACO Feb 24 Bronze problem. The algorithm is already emailed to students.
  2. Try to implement the changes I requested for Maximizing Productivity USACO Feb 24 Bronze problem. The partial codes have been uploaded to google drive. https://drive.google.com/file/d/1fSpmUfccbaYSRp5SNSUq4nwWZY88xhtw/view?usp=drive_link you just need to learn how to use scanner.nextInt() and replace the scanner.nextLine() with scanner.nextInt().  After you do this, when you try to upload to USACO, you will still only get 4 out 17 test cases. But don’t despair, this is a step toward the full score solution which will be revealed next week.

Details

Date:
April 6
Time:
3:00 pm - 4:00 pm
Verified by MonsterInsights