| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 145578 | surface03 | 두 박스 (KOI18_box) | C++14 | 2 ms | 504 KiB | 
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<stdio.h>
#include<algorithm>
using namespace std;
int main(){
    int sx,sy,ex,ey,x,y,xx,yy;
    scanf("%d%d%d%d%d%d%d%d",&sx,&sy,&ex,&ey,&x,&y,&xx,&yy);
    if(sx>x){
        swap(sx,x);
        swap(sy,y);
        swap(ex,xx);
        swap(ey,yy);
    }
    if(ey<y||sy>yy||ex<x){
        printf("NULL");
    }
    else if((ey==y&&ex==x)||(ex==x&&sy==yy)){
        printf("POINT");
    }
    else if(ey==y||sy==yy||ex==x){
        printf("LINE");
    }
    else{
        printf("FACE");
    }
}
Compilation message (stderr)
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
