結果

問題 No.602 隠されていたゲーム2
ユーザー 山本信二
提出日時 2022-05-23 22:07:20
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 140 bytes
コンパイル時間 191 ms
コンパイル使用メモリ 82,464 KB
実行使用メモリ 83,896 KB
最終ジャッジ日時 2024-09-20 13:22:53
合計ジャッジ時間 3,220 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 7 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
D = list(map(int,input().split()))
x,y = map(int,input().split())
if x+y in D:
    print(1)            
else:
    print(-1)
0