/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 33ms 17.25 MiB
#2 Accepted 35ms 17.551 MiB
#3 Accepted 35ms 17.488 MiB
#4 Accepted 34ms 17.719 MiB

Code

x, y, z = map(int, input().split())

if x % 2 == y % 2:
    print(z)
elif y % 2 == z % 2:
    print(x)
else:
    print(y)

Information

Submit By
Type
Submission
Problem
P1232 Parity
Language
PyPy 3 (Python 3.9.18 PyPy 7.3.15)
Submit At
2026-01-05 19:56:13
Judged At
2026-01-05 19:56:13
Judged By
Score
100
Total Time
35ms
Peak Memory
17.719 MiB