| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 132926 | red1108 | 두 박스 (KOI18_box) | C++17 | 2 ms | 396 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 <bits/stdc++.h>
using namespace std;
struct rect{
    int x, y, xx, yy;
}a,b;
int x, y;
int main(){
    scanf("%d %d %d %d", &a.x, &a.y, &a.xx, &a.yy);
    scanf("%d %d %d %d", &b.x, &b.y, &b.xx, &b.yy);
    if(a.x>b.x) swap(a,b);
    if(a.xx>b.x) x=2;
    else if(a.xx==b.x) x=1;
    if(a.y>b.y) swap(a,b);
    if(a.yy>b.y) y=2;
    else if(a.yy==b.y) y=1;
    if(x+y==4){
            puts("FACE");
    }
    else if(x+y==3){
        puts("LINE");
    }
    else if(x*y==1){
        puts("POINT");
    }
    else puts("NULL");
}
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... | ||||
