Solutions to AtCoder Beginner Contest 065 Problems A-D
Problem A
Problem Statement:
Taro avoids stomach illness if he eats food that expired no more then X days ago, and finds unexpired food delicious; expired food beyond X days causes illness.
He bought a bag of food today with A days left until expiration and plans to eat it B days later. Determine his state: delicious, safe, or dangerous.
Approa ...
Posted on Thu, 07 May 2026 07:56:10 +0000 by phpvn.org