pipes.cpp: In member function 'bool dsu::join(int, int)':
pipes.cpp:15:11: error: void value not ignored as it ought to be
15 | a = find(a), b = find(b);
| ~~~~^~~
pipes.cpp:15:24: error: void value not ignored as it ought to be
15 | a = find(a), b = find(b);
| ~~~~^~~
pipes.cpp: In function 'int main()':
pipes.cpp:47:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
47 | scanf("%d %d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~~
pipes.cpp:51:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
51 | scanf("%d %d", &u, &v);
| ~~~~~^~~~~~~~~~~~~~~~~