結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,776 KB
testcase_01 AC 14 ms
7,924 KB
testcase_02 AC 15 ms
7,788 KB
testcase_03 AC 14 ms
7,772 KB
testcase_04 AC 14 ms
7,972 KB
testcase_05 AC 15 ms
7,784 KB
testcase_06 AC 13 ms
7,876 KB
testcase_07 AC 14 ms
7,772 KB
testcase_08 AC 14 ms
7,764 KB
testcase_09 AC 15 ms
7,816 KB
testcase_10 AC 14 ms
7,928 KB
testcase_11 WA -
testcase_12 AC 15 ms
7,952 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 14 ms
7,816 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 14 ms
7,740 KB
testcase_20 WA -
testcase_21 AC 14 ms
7,876 KB
testcase_22 WA -
testcase_23 AC 14 ms
7,768 KB
testcase_24 AC 14 ms
7,784 KB
testcase_25 AC 14 ms
7,800 KB
testcase_26 WA -
testcase_27 AC 16 ms
7,972 KB
testcase_28 WA -
testcase_29 AC 14 ms
7,820 KB
testcase_30 WA -
testcase_31 AC 14 ms
7,972 KB
testcase_32 WA -
testcase_33 AC 106 ms
28,448 KB
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 AC 65 ms
19,180 KB
testcase_38 AC 73 ms
20,084 KB
testcase_39 WA -
testcase_40 WA -
testcase_41 AC 81 ms
21,692 KB
testcase_42 AC 50 ms
15,564 KB
testcase_43 AC 101 ms
26,712 KB
testcase_44 AC 48 ms
15,632 KB
testcase_45 WA -
testcase_46 AC 40 ms
13,496 KB
testcase_47 WA -
testcase_48 AC 15 ms
7,864 KB
testcase_49 AC 15 ms
7,780 KB
testcase_50 WA -
testcase_51 AC 14 ms
7,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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