結果
| 問題 | No.2682 Visible Divisible |
| コンテスト | |
| ユーザー |
tute7627
|
| 提出日時 | 2023-12-16 02:20:11 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 181 bytes |
| 記録 | |
| コンパイル時間 | 210 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 122,368 KB |
| 最終ジャッジ日時 | 2026-04-14 03:41:47 |
| 合計ジャッジ時間 | 10,371 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | TLE * 1 -- * 13 |
ソースコード
from math import lcm
n, k = map(int, input().split())
a = list(map(int,input().split()))
x = 1
for v in a:
x = lcm(x, v)
if x % k == 0:
print("Yes")
else:
print("No")
tute7627