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"
using namespace std;
typedef long long ll;
#define mp make_pair
#define pb push_back
#define fr frist
#define sc second
#define pii pair<int,int>
#define mod 1000000007LL
void findLocation(int n, int first, int location[], int type[])
{
location[0]=first;
type[0]=1;
for(int i=1;i<n;i++)
location[i]=getDistance(0,i)+first,type[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... |