結果
問題 |
No.1250 汝は倍数なりや?
|
ユーザー |
![]() |
提出日時 | 2021-11-18 00:48:33 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 251 bytes |
コンパイル時間 | 197 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 157,312 KB |
最終ジャッジ日時 | 2024-12-24 09:47:43 |
合計ジャッジ時間 | 29,618 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 37 TLE * 12 |
ソースコード
def main(): from sys import stdin readline=stdin.readline n, h = map(int, readline().split()) A = list(map(int, readline().split())) now = 1 for a in A: now *= a if now % h == 0: print('YES') exit() print('NO') main()