Submission #50147049


Source Code Expand

#ABC340_20240210_B
Q=int(input())
ans=[]
for _ in range(Q):
    N,X=map(int,input().split())
    if(N==1):
        ans.append(X)
    else:
        print(ans[len(ans)-X])

Submission Info

Submission Time
Task B - Append
User Konini
Language Python (PyPy 3.10-v7.3.12)
Score 200
Code Size 179 Byte
Status AC
Exec Time 58 ms
Memory 76628 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 1
AC × 14
Set Name Test Cases
Sample sample_01.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, sample_01.txt
Case Name Status Exec Time Memory
random_01.txt AC 58 ms 76264 KiB
random_02.txt AC 57 ms 76464 KiB
random_03.txt AC 57 ms 76296 KiB
random_04.txt AC 57 ms 76536 KiB
random_05.txt AC 58 ms 76252 KiB
random_06.txt AC 56 ms 76280 KiB
random_07.txt AC 57 ms 76376 KiB
random_08.txt AC 57 ms 76304 KiB
random_09.txt AC 57 ms 76564 KiB
random_10.txt AC 57 ms 76436 KiB
random_11.txt AC 56 ms 76276 KiB
random_12.txt AC 57 ms 76628 KiB
random_13.txt AC 56 ms 76436 KiB
sample_01.txt AC 56 ms 76444 KiB