Problem archaeologist
User Reverberate
Submission Time 2024-03-09 18:24:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

archaeologist.cpp: In function ‘void archaeologist(long long int, long long int, long long int, std::vector<long long int>, long long int, std::vector<long long int>)’:
archaeologist.cpp:32:44: error: conversion from ‘pair<int,vector<int>>’ to non-scalar type ‘pair<long long int,vector<long long int>>’ requested
32 | pair<int,vector<int>> result = take_path(i);
| ~~~~~~~~~^~~
archaeologist.cpp:34:4: error: ‘path’ was not declared in this scope; did you mean ‘std::filesystem::__cxx11::path’?
34 | path = result.second;
| ^~~~
| std::filesystem::__cxx11::path
In file included from /usr/include/c++/9/filesystem:37,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:129,
from archaeologist.cpp:1:
/usr/include/c++/9/bits/fs_path.h:68:9: note: ‘std::filesystem::__cxx11::path’ declared here
68 | clas