# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
203287 | sean617 | Meetings (JOI19_meetings) | C++14 | 3082 ms | 508 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 "meetings.h"
void Solve(int N) {
int i, j, k;
int x, pr;
for (i = 0; i < N; i++) {
for (j = i + 1; j < N; j++) {
pr = -1;
for (k = 0; k < N; k++) {
if (k == i || k == j) continue;
x = Query(i, j, k);
if ((x != i && x != j)) break;
pr = x;
}
if (k == N) Bridge(i, j);
}
}
}
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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |