Main.cpp:21:6: error: 'bool kill' redeclared as different kind of entity
21 | bool kill = 0;
| ^~~~
In file included from /usr/include/c++/13/csignal:42,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:116,
from Main.cpp:1:
/usr/include/signal.h:112:12: note: previous declaration 'int kill(__pid_t, int)'
112 | extern int kill (__pid_t __pid, int __sig) __THROW;
| ^~~~
Main.cpp: In function 'void dfs(int, int, int)':
Main.cpp:31:14: error: invalid operands of types 'int(__pid_t, int) noexcept' {aka 'int(int, int) noexcept'} and 'bool' to binary 'operator|'
31 | kill |= (viz.find({min(v1, v2), max(v1, v2)}) != viz.end());
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:31:14: note: in evaluation of 'operator|=(int(__pid_t, int) noexcept {aka int(int, int) noexcept}, bool)'
Main.cpp: In function 'int32_t main()':
Main.cpp:53:14: error: assignment of function 'int kill(__pid_t, int)'
53 | kill = 0;
| ~~~~~^~~