Java 代码
import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner cin = new Scanner(System.in);
int A = cin.nextInt();
int B = cin.nextInt();
int C = cin.nextInt();
int D = cin.nextInt();
if ( B > C && D > A && C+D > A+B && C > 0 && D > 0 && A % 2 == 0 )
System.out.println ("Valores aceitos");
else
System.out.println ("Valores nao aceitos");
}
}