练8.5 幸运数
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
Student A believes that their lucky number is the largest non-negative integer not exceeding that is divisible by . Can you help them calculate their lucky number?
Input Format
Input consists of a single line with two integers and ().
Output Format
Output a single line with an integer representing the lucky number.
Sample
3 22
20251025A班作业(4)
- Status
- Done
- Problem
- 8
- Open Since
- 2025-10-25 0:00
- Deadline
- 2025-11-2 23:59
- Extension
- 24 hour(s)