結果
問題 |
No.1250 汝は倍数なりや?
|
ユーザー |
|
提出日時 | 2021-02-25 17:35:23 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 170 bytes |
コンパイル時間 | 150 ms |
コンパイル使用メモリ | 82,188 KB |
実行使用メモリ | 265,692 KB |
最終ジャッジ日時 | 2024-10-01 07:54:23 |
合計ジャッジ時間 | 5,475 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 TLE * 1 -- * 18 |
ソースコード
N, H = map(int, input().split()) A = list(map(int, input().split())) prod = 1 for i in range(N): prod *= A[i] if prod % H == 0: print("YES") else: print("NO")