0_0_39008237_22079.cpp: In function 'int main()':
0_0_39008237_22079.cpp:25:28: error: 'path' was not declared in this scope; did you mean 'std::filesystem::__cxx11::path'?
25 | while(pre[pos]!=-1)path[++cnt]=pos,pos=pre[pos];
| ^~~~
| std::filesystem::__cxx11::path
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/filesystem:47,
from .\stdc++.h:200:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/fs_path.h:289:9: note: 'std::filesystem::__cxx11::path' declared here
289 | class path
| ^~~~
0_0_39008237_22079.cpp:25:35: error: 'cnt' was not declared in this scope; did you mean 'int'?
25 | while(pre[pos]!=-1)path[++cnt]=pos,pos=pre[pos];
| ^~~
| int
0_0_39008237_22079.cpp:26:9: error: 'path' was not declared in this scope; did you mean 'std::filesystem::__cxx11::path'?
26 | path[++cnt]=pos;
| ^~~~
| std::filesystem::__cxx11::path
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/fs_path.h:289:9: note: 'std::filesystem::__cxx11::path' declared here
289 | class path
| ^~~~
0_0_39008237_22079.cpp:26:16: error: 'cnt' was not declared in this scope; did you mean 'int'?
26 | path[++cnt]=pos;
| ^~~
| int
|