結果
問題 | No.2811 Calculation Within Sequence |
ユーザー | ニックネーム |
提出日時 | 2024-07-19 21:37:22 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 193 ms / 2,000 ms |
コード長 | 155 bytes |
コンパイル時間 | 102 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 33,272 KB |
最終ジャッジ日時 | 2024-07-19 21:37:37 |
合計ジャッジ時間 | 7,559 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 31 ms
10,752 KB |
testcase_01 | AC | 33 ms
10,752 KB |
testcase_02 | AC | 32 ms
10,624 KB |
testcase_03 | AC | 137 ms
33,148 KB |
testcase_04 | AC | 135 ms
33,064 KB |
testcase_05 | AC | 187 ms
33,156 KB |
testcase_06 | AC | 183 ms
33,020 KB |
testcase_07 | AC | 137 ms
33,148 KB |
testcase_08 | AC | 189 ms
33,016 KB |
testcase_09 | AC | 186 ms
33,024 KB |
testcase_10 | AC | 189 ms
33,016 KB |
testcase_11 | AC | 132 ms
33,020 KB |
testcase_12 | AC | 136 ms
33,144 KB |
testcase_13 | AC | 187 ms
33,180 KB |
testcase_14 | AC | 134 ms
33,188 KB |
testcase_15 | AC | 133 ms
33,028 KB |
testcase_16 | AC | 138 ms
33,236 KB |
testcase_17 | AC | 186 ms
33,072 KB |
testcase_18 | AC | 136 ms
33,020 KB |
testcase_19 | AC | 135 ms
33,020 KB |
testcase_20 | AC | 137 ms
33,184 KB |
testcase_21 | AC | 188 ms
33,084 KB |
testcase_22 | AC | 183 ms
33,208 KB |
testcase_23 | AC | 193 ms
33,272 KB |
testcase_24 | AC | 119 ms
32,184 KB |
testcase_25 | AC | 83 ms
19,236 KB |
testcase_26 | AC | 53 ms
15,108 KB |
testcase_27 | AC | 93 ms
24,004 KB |
testcase_28 | AC | 44 ms
14,312 KB |
testcase_29 | AC | 98 ms
20,716 KB |
testcase_30 | AC | 68 ms
22,972 KB |
testcase_31 | AC | 102 ms
30,972 KB |
testcase_32 | AC | 51 ms
15,920 KB |
testcase_33 | AC | 72 ms
20,500 KB |
testcase_34 | AC | 120 ms
24,388 KB |
testcase_35 | AC | 55 ms
16,700 KB |
testcase_36 | AC | 80 ms
21,888 KB |
testcase_37 | AC | 82 ms
18,068 KB |
testcase_38 | AC | 56 ms
21,344 KB |
testcase_39 | AC | 86 ms
24,376 KB |
testcase_40 | AC | 114 ms
31,992 KB |
testcase_41 | AC | 125 ms
24,728 KB |
testcase_42 | AC | 74 ms
18,508 KB |
testcase_43 | AC | 89 ms
20,316 KB |
ソースコード
from math import gcd a,b = map(int,input().split()) d = gcd(*map(int,input().split())) print("No" if any(v%d for v in map(int,input().split())) else "Yes")