結果

問題 No.1250 汝は倍数なりや?
ユーザー mesame3993mesame3993
提出日時 2021-11-18 00:48:33
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 251 bytes
コンパイル時間 1,000 ms
コンパイル使用メモリ 86,788 KB
実行使用メモリ 103,552 KB
最終ジャッジ日時 2023-08-25 22:29:56
合計ジャッジ時間 7,858 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
75,580 KB
testcase_01 AC 70 ms
71,092 KB
testcase_02 AC 69 ms
70,808 KB
testcase_03 AC 69 ms
71,204 KB
testcase_04 AC 69 ms
71,188 KB
testcase_05 AC 68 ms
71,044 KB
testcase_06 AC 71 ms
71,292 KB
testcase_07 AC 68 ms
70,968 KB
testcase_08 AC 70 ms
70,900 KB
testcase_09 AC 68 ms
71,268 KB
testcase_10 AC 69 ms
71,232 KB
testcase_11 AC 70 ms
71,208 KB
testcase_12 AC 69 ms
71,092 KB
testcase_13 AC 70 ms
71,144 KB
testcase_14 AC 69 ms
70,808 KB
testcase_15 AC 70 ms
71,360 KB
testcase_16 AC 69 ms
71,252 KB
testcase_17 AC 70 ms
71,076 KB
testcase_18 AC 70 ms
71,148 KB
testcase_19 AC 68 ms
71,116 KB
testcase_20 AC 70 ms
71,340 KB
testcase_21 AC 69 ms
71,196 KB
testcase_22 AC 70 ms
71,024 KB
testcase_23 AC 74 ms
71,196 KB
testcase_24 AC 73 ms
71,232 KB
testcase_25 AC 73 ms
70,856 KB
testcase_26 AC 71 ms
71,088 KB
testcase_27 AC 73 ms
70,912 KB
testcase_28 AC 68 ms
70,812 KB
testcase_29 AC 70 ms
71,184 KB
testcase_30 AC 68 ms
70,988 KB
testcase_31 AC 69 ms
71,148 KB
testcase_32 AC 69 ms
70,952 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():
  from sys import stdin
  readline=stdin.readline
  n, h = map(int, readline().split())
  A = list(map(int, readline().split()))
  now = 1
  for a in A:
    now *= a
    if now % h == 0:
      print('YES')
      exit()
  print('NO')
main()
0