Parity
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Time Limit: 1.0 s
Memory Limit: 512.0 MB
Description
You are given three integer \(x,y,z\) where any two number has the same parity.
Print the number with the different parity.
Input
one line contains three integer \(x,y,z\)
Output
one integer, the number which has different parity from others
Sample
Input | Output |
---|---|
|
|
LUCC Presents Intra LU Junior Programming Contest - Replay
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 10
- Start at
- 2025-09-02 15:30
- End at
- 2025-09-02 17:45
- Duration
- 2.2 hour(s)
- Host
- Partic.
- 65