Submission #120126

#TimeUsernameProblemLanguageResultExecution timeMemory
120126rajarshi_basuRail (IOI14_rail)C++14
0 / 100
74 ms512 KiB
#include <bits/stdc++.h> #define ll long long int #define FOR(i,n) for(int i=0;i<n;i++) #define FORE(i,a,b) for(int i = a;i<=b;i++) #define vi vector<int> #define ii pair<int,int> #define ff first #define ss second #include "rail.h" using namespace std; void findLocation(int n, int first, int location[], int stype[]){ location[0] = 0; FOR(i,n-1){ location[i+1] = first + getDistance(0,i+1); } stype[0] = 1; FOR(i,n-1)stype[i+1] = 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...