Només un nombre parell


Submit solution

Points: 10
Time limit: 5.0s
Memory limit: 256M

Author:
Problem types
Allowed languages
C#, Go, Java

Es vol desenvolupar una aplicació que, donats tres números, digui si només un d'ells és un nombre parell i ho mostri per pantalla.

Input Format

L'entrada consta de tres nombres enters separats per un espai.

Constraints

-

Output Format

S'imprimirà true o false.

Test Case 1

Input
1 3 5
Output
false

Test Case 2

Input
1 3 6
Output
true

Test Case 3

Input
1 2 3
Output
true

Test Case 4

Input
1 2 4
Output
false

Test Case 5

Input
2 3 5
Output
true

Test Case 6

Input
2 3 4
Output
false

Test Case 7

Input
2 4 5
Output
false

Test Case 8

Input
2 4 6
Output
false

Authorship: Fernando Porrino Serrano

CC BY-NC-SA 4.0