Submission #19448040


Source Code Expand

Copy
N = int(input())
a = [int(input()) for _ in range(N)]
if sum([i % 2 == 0 for i in a]) == N:
    print("second")
else:
    print("first")

Submission Info

Submission Time
Task D - Harlequin
User knk_kei
Language PyPy3 (7.3.0)
Score 500
Code Size 143 Byte
Status AC
Exec Time 172 ms
Memory 81168 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 500 / 500
Status
AC × 2
AC × 22
Set Name Test Cases
Sample a01, a02
All a01, a02, b03, b04, b05, b06, b07, b08, b09, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22
Case Name Status Exec Time Memory
a01 AC 64 ms 60984 KB
a02 AC 52 ms 61028 KB
b03 AC 56 ms 61016 KB
b04 AC 54 ms 61024 KB
b05 AC 53 ms 60740 KB
b06 AC 55 ms 60992 KB
b07 AC 55 ms 60808 KB
b08 AC 53 ms 60756 KB
b09 AC 51 ms 60764 KB
b10 AC 53 ms 60912 KB
b11 AC 55 ms 61024 KB
b12 AC 163 ms 80816 KB
b13 AC 170 ms 80840 KB
b14 AC 167 ms 81128 KB
b15 AC 162 ms 81168 KB
b16 AC 165 ms 80696 KB
b17 AC 172 ms 80672 KB
b18 AC 167 ms 80936 KB
b19 AC 167 ms 80708 KB
b20 AC 161 ms 81168 KB
b21 AC 168 ms 80700 KB
b22 AC 167 ms 80656 KB