Submission

Status:

PPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: agnes_chan

Problemset: ใส่กล่อง

Language: python

Time: 0.013 second

Submitted On: 2026-05-08 13:49:32

W , L , M , N = map(int,input().split())
print(min([(W%p)*(L%p) for p in range(M,1+N)]))