top of page

소스 코드 제출

공개·회원 69명

20250520

//#include<stdio.h>

//int stack[1000005]={}, top=-1;

//void s1(int n)

//{

// top++;

// stack[top]=n;

// return;

//}

//void s2()

//{

// if (top>-1)

// {

// printf("%d", stack[top]);

// top--;

// }

// else

// {

// printf("-1");

// }

// return;

//}

//void s3()

//{

// printf("%d", top+1);

// return;

//}

//void s4()

//{

// printf("%d", top>-1 ? 0 : 1);

// return;

//}

//void s5()

//{

// if (top>-1)

// {

// printf("%d", stack[top]);

// }

// else

// {

// printf("-1");

// }

// return;

//}

//int main()

//{

// int n,i, s,t;

// scanf("%d", &n);

// for(i=1;i<=n;i++)

// {

// scanf("%d", &s);

// if (s==1)

// {

// scanf("%d", &t);

// s1(t);

// }

// else if(s==2)

// {

// s2();

// }

// else if(s==3)

// {

// s3();

// }

// else if(s==4)

// {

// s4();

// }

// else

// {

// s5();

// }

// if (s!=1)

// {

// printf("\n");

// }

// }

// return 0;

#include<stdio.h>

int main()

{

int i1,i2,j1,j2,y1,x1,y2,x2;

scanf("%d %d %d %d %d %d %d %d", &j1, &i1, &j2, &i2, &x1, &y1, &x2, &y2);

if ((j1 == x1 && i1==y1) || (j2==x2 && i2==y2) || (j1>))

{

printf("FACE");

return 0;

}

if ((j1==x2&&i1==y2) || (j2==x1&&i2==y1)||(j2==x1&&i1==y2) || (j1==x2 && i2==y))

{

printf("POINT");

return 0;

}

return 0;

}

1회 조회
주소 : 경기도 용인시 광교중앙로 302 블루 스퀘어 602호
연락처 : 031) 216 - 1546 ,     031) 215 - 1546
사업자등록번호 : 465-92-00916
​학원 등록 제 4603호
bottom of page