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 "rail.h"
#include <bits/stdc++.h>
const int TYPE_C = 1, TYPE_D = 2;
void findLocation(int N, int x0, int x[], int t[]) {
x[0] = x0;
t[0] = TYPE_C;
for (int i = 1; i < N; i++) {
x[i] = x[0] + getDistance(0, i);
t[i] = TYPE_D;
}
}
# | 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... |