| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1135449 | irmuun | Rail (IOI14_rail) | C++20 | 31 ms | 580 KiB |
#include<bits/stdc++.h>
#include "rail.h"
using namespace std;
#define ll long long
#define pb push_back
#define ff first
#define ss second
#define all(s) s.begin(),s.end()
#define rall(s) s.rbegin(),s.rend()
void findLocation(int N, int first, int location[], int stype[]){
location[0]=first;
stype[0]=1;
for(int j=1;j<N;j++){
int x=getDistance(0,j);
location[j]=first+x;
stype[j]=2;
}
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
