解题说明:此题是一道几何题,给定三点,求第4个点让该四点组成一个平行四边形,容易分析得出存在三个这样的点。
#include<cstdio>
#include <cstring>
#include<cmath>
#include<iostream>
#include<algorithm>
#include<vector>
#include <map>
using namespace std;
int main()
{
int a,b,c,d,e,f;
scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f);
printf("3\n");
printf("%d %d\n",a+c-e,b+d-f);
printf("%d %d\n",a+e-c,b+f-d);
printf("%d %d\n",c+e-a,d+f-b);
return 0;
}