# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
949061 | rainboy | 직사각형 게임 (KPI13_game) | C11 | 1 ms | 416 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>
int main() {
int a, b, c, d, can;
scanf("%d%d%d%d", &a, &b, &c, &d);
can = 0;
if (c <= a && (a - c) * (a - c) + b * b >= d * d)
can = 1;
if (c <= b && a * a + (b - c) * (b - c) >= d * d)
can = 1;
if (d <= a && (a - d) * (a - d) + b * b >= c * c)
can = 1;
if (d <= b && a * a + (b - d) * (b - d) >= c * c)
can = 1;
printf(can ? "First\n" : "Second\n");
return 0;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |