PHƯỚC HƯNG OJ · THỬ THÁCH THUẬT TOÁN
#SCCCIE000031. Kiểm tra điều kiện 1 (Selection Test 1)
Bài tập này chưa được xếp vào lộ trình.
Mục lục đề ⌄
Đang đọc
Kiểm tra điều kiện 1 (Selection Test 1)
Selection Test 1
Source: beecrowd
Version: Phuoc Hung OJ Extended
Problem Statement
Given integers , the values are accepted exactly when all conditions hold: , , , , , and is even.
Input
One line contains , , , and .
Output
Print Valores aceitos if all conditions hold; otherwise print Valores nao aceitos.
Subtasks
- Subtask 1 (100%):
Examples
Example 1
Input
5 6 7 8
Output
Valores nao aceitos
Explanation
For the sample values 5, 6, 7, 8, evaluating the conditions in the statement gives Valores nao aceitos. Therefore the program prints the shown output.
Example 2
Input
2 3 2 6
Output
Valores aceitos
Explanation
For the sample values 2, 3, 2, 6, evaluating the conditions in the statement gives Valores aceitos. Therefore the program prints the shown output.