제출 #1043289

#제출 시각아이디문제언어결과실행 시간메모리
1043289deera철로 (IOI14_rail)C++14
8 / 100
38 ms604 KiB
// ioi 2014 // Day 1: Rail #include <bits/stdc++.h> #include "rail.h" using namespace std; void findLocation(int N, int first, int location[], int stype[]) { // we always know the type and location of the first station location[0] = first; stype[0] = 1; // first subtask for (int i = 1; i < N; i++) { location[i] = first + getDistance(0, i); stype[i] = 2; // since everything is just type D } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...