Wrong Answer
Code
x,y,z=map(int,input().split())
if(((x%2==0) and (y%2==0) and (z%2!=0)) or ((x%2!=0) and(y%2!=0) and (z%2==0))):
print(z)
elif(((x%2==0) and (z%2==0) and (y!=0)) or ((x!=0) and(z!=0) and (y==0))):
print(y)
else:
print(x)
Information
- Submit By
- Type
- Submission
- Problem
- P1232 Parity
- Contest
- LUCC Presents Kick & Code Intra LU Programming Contest
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2025-09-01 05:30:32
- Judged At
- 2025-09-01 05:30:32
- Judged By
- Score
- 80
- Total Time
- 14ms
- Peak Memory
- 3.215 MiB