제출 #493193

#제출 시각아이디문제언어결과실행 시간메모리
493193InternetPerson10철로 (IOI14_rail)C++17
8 / 100
69 ms460 KiB
#include "rail.h"
#include <bits/stdc++.h>

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++) {
        stype[i] = 2;
        location[i] = location[0] + getDistance(0, i);
    }
    return;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...