結果
問題 |
No.1250 汝は倍数なりや?
|
ユーザー |
|
提出日時 | 2021-12-06 12:48:06 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 184 bytes |
コンパイル時間 | 68 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 15,744 KB |
最終ジャッジ日時 | 2024-07-07 08:54:48 |
合計ジャッジ時間 | 3,955 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 49 |
ソースコード
import sys N,H = list(map(int,input().split())) A = list(map(int,input().split)) S = 1 for i in A: S *= i S %= H if S == 0: print('YES') exit() print('NO')