結果

問題 No.1250 汝は倍数なりや?
ユーザー ak0327ak0327
提出日時 2020-10-10 11:43:55
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 142 bytes
コンパイル時間 278 ms
コンパイル使用メモリ 10,528 KB
実行使用メモリ 32,956 KB
最終ジャッジ日時 2023-09-27 21:20:15
合計ジャッジ時間 4,438 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
12,356 KB
testcase_01 AC 15 ms
7,816 KB
testcase_02 AC 15 ms
7,764 KB
testcase_03 AC 14 ms
7,776 KB
testcase_04 AC 15 ms
7,788 KB
testcase_05 AC 14 ms
7,884 KB
testcase_06 AC 14 ms
7,784 KB
testcase_07 AC 14 ms
7,784 KB
testcase_08 AC 15 ms
7,888 KB
testcase_09 AC 15 ms
7,820 KB
testcase_10 AC 14 ms
7,772 KB
testcase_11 WA -
testcase_12 AC 14 ms
7,928 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 14 ms
7,788 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 13 ms
7,844 KB
testcase_20 WA -
testcase_21 AC 13 ms
7,884 KB
testcase_22 WA -
testcase_23 AC 14 ms
7,828 KB
testcase_24 AC 15 ms
7,888 KB
testcase_25 AC 15 ms
7,784 KB
testcase_26 WA -
testcase_27 AC 16 ms
7,888 KB
testcase_28 WA -
testcase_29 AC 16 ms
7,844 KB
testcase_30 WA -
testcase_31 AC 14 ms
7,896 KB
testcase_32 WA -
testcase_33 TLE -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
testcase_37 -- -
testcase_38 -- -
testcase_39 -- -
testcase_40 -- -
testcase_41 -- -
testcase_42 -- -
testcase_43 -- -
testcase_44 -- -
testcase_45 -- -
testcase_46 -- -
testcase_47 -- -
testcase_48 -- -
testcase_49 -- -
testcase_50 -- -
testcase_51 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n, h = map(int, input().split())
al = list(map(int, input().split()))

mod = 1
for a in al:
    mod *= a%h

print('YES' if mod == 0 else 'NO')
0