Accepted
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