結果

問題 No.1250 汝は倍数なりや?
ユーザー NatsubiSoganNatsubiSogan
提出日時 2020-10-09 21:48:50
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 279 bytes
コンパイル時間 307 ms
コンパイル使用メモリ 87,192 KB
実行使用メモリ 103,596 KB
最終ジャッジ日時 2023-09-27 16:19:27
合計ジャッジ時間 5,821 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
75,536 KB
testcase_01 AC 66 ms
71,328 KB
testcase_02 AC 64 ms
71,236 KB
testcase_03 AC 66 ms
71,452 KB
testcase_04 AC 63 ms
71,452 KB
testcase_05 AC 63 ms
71,460 KB
testcase_06 AC 62 ms
71,400 KB
testcase_07 AC 67 ms
71,452 KB
testcase_08 AC 66 ms
71,260 KB
testcase_09 AC 67 ms
71,040 KB
testcase_10 AC 64 ms
71,136 KB
testcase_11 AC 63 ms
71,316 KB
testcase_12 AC 65 ms
71,460 KB
testcase_13 AC 66 ms
71,520 KB
testcase_14 AC 64 ms
71,272 KB
testcase_15 AC 65 ms
71,232 KB
testcase_16 AC 64 ms
71,524 KB
testcase_17 AC 65 ms
71,260 KB
testcase_18 AC 63 ms
71,116 KB
testcase_19 AC 65 ms
71,468 KB
testcase_20 AC 67 ms
71,232 KB
testcase_21 AC 67 ms
71,228 KB
testcase_22 AC 63 ms
71,260 KB
testcase_23 AC 66 ms
71,160 KB
testcase_24 AC 68 ms
71,232 KB
testcase_25 AC 68 ms
71,304 KB
testcase_26 AC 66 ms
71,252 KB
testcase_27 AC 68 ms
71,396 KB
testcase_28 AC 65 ms
71,340 KB
testcase_29 AC 67 ms
71,228 KB
testcase_30 AC 64 ms
71,272 KB
testcase_31 AC 65 ms
71,464 KB
testcase_32 AC 65 ms
71,232 KB
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 #

def main():
    import sys
    input = sys.stdin.readline
    n, h = map(int, input().split())
    ans = 1
    for i in list(map(int, input().split())):
        ans *= i
        if ans % h == 0:
            exit(print("YES"))
    print("NO")
if __name__ == "__main__":
    main()
0