Selection Test 1
Submit solution
Points:
1 (partial)
Time limit:
1.0s
Memory limit:
98M
Author:
Problem type
Allowed languages
Ada, Assembly, Awk, C, C++, C11, CLANG, CLANGX, Classical, COBOL, Coffee, CSC, D lang, DART, F95, FORTH, Fortrn, GAS32, GO, Haskell, Itercal, Java, kotlin, LEAN, LISP, LUA, MONOVB, Nasm, OCAML, Pascal, Perl, php, PIKE, prolog, Pypy, Python, Ruby 2, RUST, Scala, SCM, SED, SWIFT, TCL, TUR, V8JS, VB, ZIG
Read 4 integer values A, B, C and D. Then if B is greater than C and D is greater than A and if the sum of C and D is greater than the sum of A and B and if C and D were positives values and if A is even, write the message “Chap nhan” (Accepted values). Otherwise, write the message “Khong chap nhan” (Values not accepted).
Input
Four integer numbers A, B, C and D.
Output
Show the corresponding message after the validation of the values.
SAMPLE 1
INPUT 1
5 6 7 8
OUTPUT 1
Khong chap nhan
SAMPLE 2
INPUT 2
2 3 2 6
OUTPUT 2
Chap nhan
Comments
.
code
dang code o day
code
dang code o day
Khi up code nhớ cho vào trong cum ba dấu ` như ví dụ sau nhé
đỉnh quá