#abc220a. A - Find Multiple
A - Find Multiple
Score : points
问题描述
打印一个在 和 (包含)之间且能被 整除的数。
如果没有这样的数字,则输出 -1
。
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
Print a number between and (inclusive) that is a multiple of .
If there is no such number, print -1
.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
If there is no number with the desired property, print -1
.
Sample Input 1
123 456 100
Sample Output 1
200
300
or 400
would also be accepted.
Sample Input 2
630 940 314
Sample Output 2
-1
update @ 2024/3/10 09:42:59