結果

問題 No.1250 汝は倍数なりや?
ユーザー RuteRute
提出日時 2020-10-09 21:24:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 255 bytes
コンパイル時間 592 ms
コンパイル使用メモリ 10,552 KB
実行使用メモリ 28,476 KB
最終ジャッジ日時 2023-09-27 14:13:47
合計ジャッジ時間 3,902 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,752 KB
testcase_01 AC 15 ms
7,808 KB
testcase_02 AC 15 ms
7,864 KB
testcase_03 AC 15 ms
7,796 KB
testcase_04 AC 15 ms
7,712 KB
testcase_05 AC 16 ms
7,708 KB
testcase_06 AC 16 ms
7,796 KB
testcase_07 AC 15 ms
7,796 KB
testcase_08 AC 15 ms
7,756 KB
testcase_09 AC 15 ms
7,800 KB
testcase_10 AC 16 ms
7,816 KB
testcase_11 WA -
testcase_12 AC 15 ms
7,736 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 16 ms
7,892 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 15 ms
7,704 KB
testcase_20 WA -
testcase_21 AC 16 ms
7,780 KB
testcase_22 WA -
testcase_23 AC 16 ms
7,736 KB
testcase_24 AC 16 ms
7,884 KB
testcase_25 AC 16 ms
7,708 KB
testcase_26 WA -
testcase_27 AC 16 ms
7,700 KB
testcase_28 WA -
testcase_29 AC 15 ms
7,816 KB
testcase_30 WA -
testcase_31 AC 15 ms
7,776 KB
testcase_32 WA -
testcase_33 AC 120 ms
28,476 KB
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 AC 70 ms
19,060 KB
testcase_38 AC 77 ms
20,140 KB
testcase_39 WA -
testcase_40 WA -
testcase_41 AC 85 ms
21,668 KB
testcase_42 AC 54 ms
15,576 KB
testcase_43 AC 107 ms
26,740 KB
testcase_44 AC 53 ms
15,496 KB
testcase_45 WA -
testcase_46 AC 43 ms
13,512 KB
testcase_47 WA -
testcase_48 AC 15 ms
7,748 KB
testcase_49 AC 15 ms
7,864 KB
testcase_50 WA -
testcase_51 AC 15 ms
7,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,H = map(int,input().split())
A = list(map(int,input().split()))
f = 0
for i in range(N):
    if A[i] %H == 0:
        f += 1
        print("YES")
        break
    if A[i] == 0:
        f += 1
        print("NO")
        break
if f == 0:
    print("NO")
0