結果
問題 |
No.1250 汝は倍数なりや?
|
ユーザー |
|
提出日時 | 2021-08-22 10:54:51 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 167 bytes |
コンパイル時間 | 212 ms |
コンパイル使用メモリ | 82,724 KB |
実行使用メモリ | 108,112 KB |
最終ジャッジ日時 | 2024-11-06 07:09:38 |
合計ジャッジ時間 | 6,787 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 49 |
ソースコード
from math import gcd N,H=map(int,input().split()) A=list(map(int,input().split())) for a in A: g=gcd(a,H) h//=g if g==1: print("YES") else: print("NO")