結果

問題 No.2682 Visible Divisible
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2023-12-16 13:57:44
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 213 bytes
コンパイル時間 333 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 106,872 KB
最終ジャッジ日時 2023-12-16 13:57:49
合計ジャッジ時間 4,580 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 188 ms
106,828 KB
testcase_01 AC 210 ms
106,708 KB
testcase_02 AC 180 ms
106,680 KB
testcase_03 AC 182 ms
106,648 KB
testcase_04 AC 172 ms
106,848 KB
testcase_05 AC 179 ms
106,848 KB
testcase_06 AC 185 ms
106,776 KB
testcase_07 AC 217 ms
106,468 KB
testcase_08 AC 42 ms
54,100 KB
testcase_09 WA -
testcase_10 AC 41 ms
54,100 KB
testcase_11 AC 180 ms
106,836 KB
testcase_12 AC 182 ms
106,768 KB
testcase_13 WA -
testcase_14 AC 177 ms
106,792 KB
testcase_15 AC 203 ms
106,424 KB
testcase_16 AC 173 ms
106,872 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

WA解

"""

import sys
import math
import random

n, k = map(int, input().split())
a = list(map(int,input().split()))

for v in a:
    k //= math.gcd(v,k)

if k == 1:
    print ("Yes")
else:
    print("No")
0