結果

問題 No.2091 Shio Ramen (Easy)
ユーザー Navier_Boltzmann
提出日時 2022-10-16 02:11:38
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 282 bytes
コンパイル時間 296 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 55,680 KB
最終ジャッジ日時 2024-06-27 00:52:50
合計ジャッジ時間 1,908 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline

N,S,K = map(int,input().split())
for _ in range(N):
    a = int(input())
    if abs(a-S)<=K:
        print(_+1)
        exit()
print('Unlucky!')
0