# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
16849 | hjk0553 | 수족관 1 (KOI13_aqua1) | C11 | 12 ms | 1120 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>
#define Mn 5000
#define INF 40000
struct aqua
{
int height;
int count;
int x;
int y;
} data[Mn/2+1];
void process()
{
int i;
int j;
int edgecount;
int holeindex;
int xedge1,yedge1,xedge2,yedge2;
int holecount;
int xhole,yhole;
int minheight;
int ans=0;
scanf("%d",&edgecount);
scanf("%d %d",&xedge1,&yedge1);
for(i=1;i<edgecount/2;i++)
{
scanf("%d %d %d %d",&xedge1,&yedge1,&xedge2,&yedge2);
data[i].count=xedge2-xedge1;
data[i].x=xedge1;
data[i].y=yedge1;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |