#include "rail.h"
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
void findLocation(int n, int first, int location[], int stype[]) {
location[0] = first;
stype[0] = 1;
for (int i=1; i<n; i++) {
location[i] = getDistance(0, i) + location[0];
stype[i] = 2;
}
}
| # | 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... |