제출 #607538

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

    typedef long long ll;

    typedef pair<int,int> pii;
    typedef pair<ll,ll> pll;

    typedef vector<int> vi;
    typedef vector<ll> vll;
    typedef vector<pii> vpi;
    typedef vector<pll> vpl;

    #define pb push_back
    #define popb pop_back
    #define all(x) (x).begin(),(x).end()
    #define ff first
    #define ss second

    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] = first + getDistance(0, i) ;
        }
    }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...