Problem | citymapping |
---|---|
User | Sandarach151 |
Submission Time | 2022-12-24 21:42:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
citymapping.cpp:2:2: error: invalid preprocessing directive #inlcude; did you mean #include?
2 | #inlcude<vector>
| ^~~~~~~
| include
citymapping.cpp: In function ‘void unite(int, int, int*, int*)’:
citymapping.cpp:22:3: error: ‘swap’ was not declared in this scope
22 | swap(a, b);
| ^~~~
citymapping.cpp:22:3: note: suggested alternatives:
In file included from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from citymapping.cpp:1:
/usr/include/c++/9/bits/basic_string.h:6381:5: note: ‘std::swap’
6381 | swap(basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~
In file included from /usr/include