# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1207211 | porquenomedejainiciarsesion | 철로 (IOI14_rail) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
#include <rail.h>
using namespace std;
void findLocation(int n, int first, int location[], int stype[]){
location[0]=first;
for(int i=1;i<n;i++){
int a=getDistance(0,i);
location[i]=first+a;
}
}