結果

問題 No.1250 汝は倍数なりや?
ユーザー RuteRute
提出日時 2020-10-09 21:48:34
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 165 bytes
コンパイル時間 193 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 49,864 KB
最終ジャッジ日時 2023-09-27 16:19:17
合計ジャッジ時間 11,541 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
29,640 KB
testcase_01 AC 117 ms
29,664 KB
testcase_02 AC 120 ms
29,576 KB
testcase_03 AC 122 ms
29,628 KB
testcase_04 AC 122 ms
29,624 KB
testcase_05 AC 119 ms
29,648 KB
testcase_06 AC 116 ms
29,632 KB
testcase_07 AC 118 ms
29,556 KB
testcase_08 AC 119 ms
29,652 KB
testcase_09 AC 118 ms
29,624 KB
testcase_10 AC 119 ms
29,560 KB
testcase_11 AC 120 ms
29,620 KB
testcase_12 AC 121 ms
29,696 KB
testcase_13 AC 115 ms
29,656 KB
testcase_14 AC 125 ms
29,632 KB
testcase_15 WA -
testcase_16 AC 120 ms
29,572 KB
testcase_17 WA -
testcase_18 AC 119 ms
29,556 KB
testcase_19 AC 119 ms
29,652 KB
testcase_20 AC 120 ms
29,580 KB
testcase_21 AC 121 ms
29,620 KB
testcase_22 AC 118 ms
29,592 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 123 ms
29,620 KB
testcase_27 WA -
testcase_28 AC 128 ms
29,764 KB
testcase_29 WA -
testcase_30 AC 119 ms
29,680 KB
testcase_31 AC 124 ms
29,564 KB
testcase_32 AC 128 ms
29,716 KB
testcase_33 WA -
testcase_34 AC 161 ms
39,712 KB
testcase_35 AC 179 ms
47,276 KB
testcase_36 AC 183 ms
47,920 KB
testcase_37 WA -
testcase_38 WA -
testcase_39 AC 159 ms
39,604 KB
testcase_40 AC 159 ms
40,056 KB
testcase_41 WA -
testcase_42 WA -
testcase_43 WA -
testcase_44 WA -
testcase_45 AC 186 ms
48,136 KB
testcase_46 WA -
testcase_47 AC 166 ms
40,844 KB
testcase_48 AC 127 ms
29,584 KB
testcase_49 AC 127 ms
29,712 KB
testcase_50 AC 125 ms
29,580 KB
testcase_51 AC 121 ms
29,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np
N,H = map(int,input().split())
A = list(map(int,input().split()))
d = np.array(A)
S = d.prod()
if S%H == 0:
    print("YES")
else:
    print("NO")
0