結果

問題 No.2682 Visible Divisible
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2023-12-16 13:41:53
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 250 bytes
コンパイル時間 172 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 105,476 KB
最終ジャッジ日時 2023-12-16 13:41:56
合計ジャッジ時間 3,222 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 98 ms
105,380 KB
testcase_01 AC 100 ms
105,292 KB
testcase_02 AC 98 ms
105,236 KB
testcase_03 AC 105 ms
105,196 KB
testcase_04 AC 102 ms
105,404 KB
testcase_05 AC 100 ms
105,400 KB
testcase_06 AC 100 ms
105,200 KB
testcase_07 AC 99 ms
104,796 KB
testcase_08 WA -
testcase_09 AC 37 ms
53,588 KB
testcase_10 AC 34 ms
53,588 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 99 ms
104,704 KB
testcase_14 WA -
testcase_15 AC 99 ms
104,756 KB
testcase_16 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

WA解

Kの倍数があるかだけ探索

"""

import math

N,K = map(int,input().split())
A = list(map(int,input().split()))

flag = False

for a in A:
    if a % K == 0:
        flag = True

if flag:
    print ("Yes")
else:
    print ("No")
0