#295. 能否整除?
能否整除?
No testdata at current.
Background
给你个整数, 判断其中是否存在两个数的差能被整除
Input
第1行为
第2行为个正整数
Output
如果存在输出yes
, 否则输出no
.
Samples
5 6
1 2 7 13 5
yes
Limitation
No testdata at current.
给你n个整数, 判断其中是否存在两个数的差能被m整除
第1行为n,m
第2行为n个正整数
如果存在输出yes
, 否则输出no
.
5 6
1 2 7 13 5
yes
1<=n,m<=106
By signing up a acjudge universal account, you can submit code and join discussions in all online judging services provided by us.