結果
| 問題 |
No.1250 汝は倍数なりや?
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-10-09 21:48:50 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 279 bytes |
| コンパイル時間 | 243 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 110,976 KB |
| 最終ジャッジ日時 | 2024-07-20 10:33:10 |
| 合計ジャッジ時間 | 4,924 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 TLE * 1 -- * 18 |
ソースコード
def main():
import sys
input = sys.stdin.readline
n, h = map(int, input().split())
ans = 1
for i in list(map(int, input().split())):
ans *= i
if ans % h == 0:
exit(print("YES"))
print("NO")
if __name__ == "__main__":
main()