Problem | cave |
---|---|
User | anusha777 |
Submission Time | 2022-12-29 22:24:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cave.cpp: In function ‘void solve(long long int)’:
cave.cpp:5:15: error: ‘vector’ was not declared in this scope
5 | #define vi vector<int>
| ^~~~~~
cave.cpp:19:2: note: in expansion of macro ‘vi’
19 | vi a(n), door(n,-1);
| ^~
cave.cpp:5:15: note: suggested alternatives:
5 | #define vi vector<int>
| ^~~~~~
cave.cpp:19:2: note: in expansion of macro ‘vi’
19 | vi a(n), door(n,-1);
| ^~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from cave.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’
386 | class vector : protected _Vector_base<