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