Submission #139166

#TimeUsernameProblemLanguageResultExecution timeMemory
139166farhad13Rail (IOI14_rail)C++14
8 / 100
82 ms504 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...