https://i0.wp.com/eblogarithm.com/wp-content/uploads/2017/01/Codeforces-Round-388-Div-2-problem-B-Parallelogram-is-Back-Solution-in-CC1.png?fit=640%2C360

Codeforces Round #388 (Div. 2), problem: (B) Parallelogram is Back Solution in C/C++

Codeforces Round #388 (Div. 2), problem: (B) Parallelogram is Back Solution in C/C++

 

 

int main()
{
	int x1,y1,x2,y2,x3,y3;
	
	scanf("%d%d\n%d%d\n%d%d",&x1,&y1,&x2,&y2,&x3,&y3);
	printf("3\n%d %d\n%d %d\n%d %d",x1+x2-x3,y1+y2-y3,x2+x3-x1,y2+y3-y1,x3+x1-x2,y3+y1-y2);
	
	return 0;
}

 

 

(Visited 83 times, 1 visits today)



There are no comments

Add yours

Leave a Reply

%d bloggers like this: