Determine the Day of the Week After 20^22 Days (Lanqiao Cup 2022 Provincial Problem)
Problem Description
Given that today is Saturday, determine which day of the week it will be after 20^22 days. Note that days are represented as 1 (Monday) through 7 (Sunday).
Approach
This problem can be efficiently solved using modular arithmetic to avoid computing the extremely large value of 20^22 directly. Since the week cycles every 7 day ...
Posted on Sun, 31 May 2026 17:12:21 +0000 by dkphp2