結果

問題 No.2091 Shio Ramen (Easy)
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2022-10-16 02:11:38
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 282 bytes
コンパイル時間 319 ms
コンパイル使用メモリ 87,260 KB
実行使用メモリ 73,356 KB
最終ジャッジ日時 2023-09-09 07:45:20
合計ジャッジ時間 3,146 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 108 ms
72,808 KB
testcase_01 AC 109 ms
72,976 KB
testcase_02 AC 109 ms
72,908 KB
testcase_03 AC 108 ms
72,824 KB
testcase_04 WA -
testcase_05 AC 110 ms
73,052 KB
testcase_06 AC 110 ms
73,028 KB
testcase_07 AC 110 ms
72,904 KB
testcase_08 AC 111 ms
73,020 KB
testcase_09 AC 108 ms
73,028 KB
testcase_10 WA -
testcase_11 AC 108 ms
73,064 KB
testcase_12 AC 110 ms
73,016 KB
testcase_13 AC 107 ms
72,808 KB
testcase_14 AC 111 ms
73,024 KB
権限があれば一括ダウンロードができます

ソースコード

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