aytdev

URI 1035

Jul 23rd, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. //https://www.urionlinejudge.com.br/judge/en/problems/view/1035
  2. int main() {
  3.  int a,b,c,d;
  4. scanf("%d%d%d%d",&a,&b,&c,&d);
  5.    b>c && d>a && c+d>a+b && c>0 && d>0 && a%2==0?printf("Valores aceitos\n"):printf("Valores nao aceitos\n");
  6.  return 0;
  7. }
Add Comment
Please, Sign In to add comment