Submission #857691

# Submission time Handle Problem Language Result Execution time Memory
857691 2023-10-06T15:36:06 Z Vanio Speedrun (RMI21_speedrun) C++14
Compilation error
0 ms 0 KB
#include<bits/stdc++.h>
#include<"speedrun.h">
using namespace std;

void assignHints(int st, int n, int a[], int b[]){
    int i;
    setHintLen(n);
    for(i=1;i<n;i++){
        setHint(a[i],b[i],1);
        setHint(b[i],a[i],1);
    }
}

bool f[1001];

void rec(int k, int p){
    int i;
    f[k]=1;
    for(i=1;i<n;i++){
        if(getHint(i) && !f[i]){
            goTo(i);
            rec(i,k);
        }
    }
    goTo(p);
}

void speedrun(int st, int n, int start){
    rec(start,0);
}

Compilation message

speedrun.cpp:2:9: fatal error: "speedrun.h": No such file or directory
    2 | #include<"speedrun.h">
      |         ^~~~~~~~~~~~~~
compilation terminated.