結果
問題 | No.1250 汝は倍数なりや? |
ユーザー | miya145592 |
提出日時 | 2023-05-15 01:49:47 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 185 bytes |
コンパイル時間 | 797 ms |
コンパイル使用メモリ | 86,940 KB |
実行使用メモリ | 71,684 KB |
最終ジャッジ日時 | 2023-08-20 10:03:59 |
合計ジャッジ時間 | 8,757 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 72 ms
71,676 KB |
testcase_01 | AC | 71 ms
71,248 KB |
testcase_02 | AC | 72 ms
71,200 KB |
testcase_03 | AC | 72 ms
71,332 KB |
testcase_04 | AC | 73 ms
71,236 KB |
testcase_05 | AC | 73 ms
71,620 KB |
testcase_06 | AC | 72 ms
71,232 KB |
testcase_07 | AC | 71 ms
71,312 KB |
testcase_08 | AC | 71 ms
71,232 KB |
testcase_09 | AC | 72 ms
71,224 KB |
testcase_10 | AC | 70 ms
71,196 KB |
testcase_11 | AC | 74 ms
71,360 KB |
testcase_12 | AC | 71 ms
71,684 KB |
testcase_13 | AC | 73 ms
71,564 KB |
testcase_14 | AC | 77 ms
71,052 KB |
testcase_15 | AC | 84 ms
71,084 KB |
testcase_16 | AC | 84 ms
71,236 KB |
testcase_17 | AC | 85 ms
71,620 KB |
testcase_18 | AC | 86 ms
71,188 KB |
testcase_19 | AC | 84 ms
71,232 KB |
testcase_20 | AC | 86 ms
71,324 KB |
testcase_21 | AC | 84 ms
71,572 KB |
testcase_22 | AC | 97 ms
71,296 KB |
testcase_23 | AC | 85 ms
71,228 KB |
testcase_24 | AC | 78 ms
71,080 KB |
testcase_25 | AC | 73 ms
71,372 KB |
testcase_26 | AC | 72 ms
71,588 KB |
testcase_27 | AC | 74 ms
71,212 KB |
testcase_28 | AC | 72 ms
71,340 KB |
testcase_29 | AC | 73 ms
71,092 KB |
testcase_30 | AC | 73 ms
71,644 KB |
testcase_31 | AC | 72 ms
71,196 KB |
testcase_32 | AC | 74 ms
71,032 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 | -- | - |
ソースコード
import math N, H = map(int, input().split()) A = list(map(int, input().split())) G = 1 for a in A: G *= math.gcd(a, H) if G%H==0: print("YES") exit() print("NO")