結果
| 問題 |
No.467 隠されていたゲーム
|
| ユーザー |
rlangevin
|
| 提出日時 | 2023-06-07 00:07:16 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 166 bytes |
| コンパイル時間 | 340 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2024-12-29 08:50:47 |
| 合計ジャッジ時間 | 2,223 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 WA * 7 |
ソースコード
N = int(input())
D = list(map(int, input().split()))
x = max(map(int, input().split()))
if x in D:
print(1)
else:
d = max(D)
print(max(2, (x + d - 1)//d))
rlangevin