Problem splithunny
User eliasxyz
Submission Time 2025-06-15 17:34:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp:5:16: error: ‘std::vector<std::__cxx11::basic_string<char> > floor’ redeclared as different kind of entity
5 | vector<string> floor;
| ^~~~~
In file included from /usr/include/features.h:461,
from /usr/include/x86_64-linux-gnu/c++/9/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/c++config.h:528,
from /usr/include/c++/9/cassert:43,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from splithunny.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: note: previous declaration ‘double floor(double)’
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__));
| ^~~~~~~~~~~
splithunny.cpp: In function ‘void dfs(int, int)’:
splithunny.cpp:19:45: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
19 | if(!visited