結果
問題 |
No.2682 Visible Divisible
|
ユーザー |
👑 ![]() |
提出日時 | 2023-12-16 13:46:39 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 214 bytes |
コンパイル時間 | 159 ms |
コンパイル使用メモリ | 82,392 KB |
実行使用メモリ | 141,992 KB |
最終ジャッジ日時 | 2024-09-27 07:38:35 |
合計ジャッジ時間 | 6,971 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 3 |
other | TLE * 1 -- * 13 |
ソースコード
""" TLE解 setで圧縮 """ from math import lcm n, k = map(int, input().split()) a = set(map(int,input().split())) x = 1 for v in a: x = lcm(x, v) if x % k == 0: print("Yes") else: print("No")