Over the past several years, our school has lost more medals due to students not properly understanding the Scanner class than for any other reason. If you have already taken AP CSA, you likely have a rudimentary knowledge of scanners. But their use in competition is completely different. The video, below, will show you the proper way to use a scanner in a coding competition. Do not make the mistake of assuming you know this material already and skipping this important topic.
Do the Leak Loss problem from the 2022 Lockheed Martin Problem packet.
Be sure to set up the Scanner to read a file instead of reading from the console. Also be sure to use the scanner in the manner described in the video. The sample and official input and output files for this problem can be found here.
Do the Bigger is Better problem from the 2021 Lockheed Martin Problem packet.