# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
341987 | Marlov | Rail (IOI14_rail) | C++14 | 0 ms | 0 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 "rail.h"
using namespace std;
void findLocation(int N, int first, vector<int> location, vector<int> stype){
for(int i=0;i<N;i++){
location[i]=first+getDistance(0,i);
stype[i]=2;
}
stype[0]=1;
return;
}