GESP Practice Problems: Reading, Scheduling, Geometry, and Bit Patterns
Holiday Reading
A book has n pages. A student can read at most k pages per day over t vacation days. The maximum number of pages they can finish is the smaller of n and k * t.
n = int(input())
k = int(input())
t = int(input())
print(min(n, k * t))
Shared Duty Schedule
Two students clean on cycles of m and n days. The next time they coincide i ...
Posted on Sun, 07 Jun 2026 17:44:57 +0000 by cmanhatton