Solutions for ACGO Contest #13 Problems
T1 - Meteor Shower Era
Approach
Follow a direct simulation logic:
Determine the first year the observer sees a meteor: (E + B) % 50.
If this age exceeds the lifespan L, output 0.
Otherwise, calculate the remaining years L - first_year and divide by the cycle length 50, adding 1 for the first sighting.
C++ Implementation
#include <bits/stdc ...
Posted on Sun, 10 May 2026 10:38:42 +0000 by zzman