[ACM Timus] 2001. Mathematicians and Berries [C]

Problem link: 2001. Mathematicians and Berries
http://acm.timus.ru/problem.aspx?space=1&num=2001

 

[c]
#include<stdio.h>
int main()
{
int a,b,c,d,e,f,g,h;
scanf("%d %d",&a,&b);
scanf("%d %d",&c,&d);
scanf("%d %d",&e,&f);
g=b-d;
h=a-e;
printf("%d %d",h,g);
return 0;

}

[/c]

Advertisements