Problem erp
User MS
Submission Time 2023-09-02 23:54:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

erp.cpp: In function ‘int main()’:
erp.cpp:20:13: error: ‘path’ was not declared in this scope; did you mean ‘std::filesystem::__cxx11::path’?
20 | if (path[start][end] == -1){
| ^~~~
| 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 erp.cpp:1:
/usr/include/c++/9/bits/fs_path.h:68:9: note: ‘std::filesystem::__cxx11::path’ declared here
68 | class path
| ^~~~
erp.cpp:34:15: error: ‘path’ was not declared in this scope; did you mean ‘std::filesystem::__cxx11::path’?
34 | cout<<path[start][end]-1<<endl;
| ^~~~
| 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,