結果
| 問題 | No.1250 汝は倍数なりや? |
| コンテスト | |
| ユーザー |
kfield
|
| 提出日時 | 2020-10-26 00:10:52 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 295 ms |
| コンパイル使用メモリ | 85,484 KB |
| 実行使用メモリ | 308,396 KB |
| 最終ジャッジ日時 | 2026-04-03 06:01:57 |
| 合計ジャッジ時間 | 4,780 ms |
|
ジャッジサーバーID (参考情報) |
judge5_1 / judge4_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 30 TLE * 1 -- * 18 |
ソースコード
n, h = map(int, input().split())
a = list(map(int, input().split()))
mul_a = 1
for i in range(n):
mul_a = mul_a * a[i]
if mul_a%h == 0:
print("Yes")
else:
print("No")
kfield