제출 #135228

#제출 시각아이디문제언어결과실행 시간메모리
135228arthurconmy철로 (IOI14_rail)C++14
8 / 100
83 ms632 KiB
#include <bits/stdc++.h>
#ifndef ARTHUR_LOCAL
	#include "rail.h"
#endif
using namespace std;

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]=first + getDistance(0,i);
		stype[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...