結果

問題 No.467 隠されていたゲーム
ユーザー NoneNone
提出日時 2021-03-26 00:49:53
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 325 ms
コンパイル使用メモリ 87,156 KB
実行使用メモリ 71,668 KB
最終ジャッジ日時 2023-08-18 06:57:27
合計ジャッジ時間 4,044 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,264 KB
testcase_01 AC 66 ms
71,424 KB
testcase_02 AC 67 ms
71,416 KB
testcase_03 AC 68 ms
71,436 KB
testcase_04 AC 71 ms
71,416 KB
testcase_05 AC 65 ms
71,364 KB
testcase_06 AC 65 ms
71,424 KB
testcase_07 AC 66 ms
71,300 KB
testcase_08 AC 67 ms
71,176 KB
testcase_09 AC 65 ms
71,284 KB
testcase_10 AC 67 ms
71,240 KB
testcase_11 AC 67 ms
71,256 KB
testcase_12 AC 67 ms
71,368 KB
testcase_13 AC 65 ms
71,244 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 66 ms
71,612 KB
testcase_18 AC 65 ms
71,472 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 67 ms
71,344 KB
testcase_23 AC 67 ms
71,228 KB
testcase_24 AC 66 ms
71,344 KB
testcase_25 AC 67 ms
71,176 KB
testcase_26 AC 68 ms
71,428 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
D=list(map(int, input().split()))
x,y=map(int, input().split())
if x==y==0:
    print(0)
    exit()
if max(x,y) in D:
    print(1)
    exit()

D.sort()
M=D[-1]
C=max(x,y)
res=max((C+M-1)//M,2)
print(res)
0