implementer.cpp: In function ‘void Interactor::init()’:
implementer.cpp:25:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
25 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
implementer.cpp:30:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
30 | scanf("%d%d",&x,&y); v[x].push_back(y),v[y].push_back(x);
| ~~~~~^~~~~~~~~~~~~~
In file included from answer.code:2:
implementer.cpp: In function ‘void Interactor::init()’:
implementer.cpp:25:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
25 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
implementer.cpp:30:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
30 | scanf("%d%d",&x,&y); v[x].push_back(y),v[y].push_back(x);
| ~~~~~^~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x6b720): multiple definition of `Interactor::v'; /tmp/cc4His6J.o:(.bss+0x9c80): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o: in function `Interactor::dfs1(int, int)':
answer.code:(.text+0x8d0): multiple definition of `Interactor::dfs1(int, int)'; /tmp/cc4His6J.o:implementer.cpp:(.text+0x4b0): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x1c1a60): multiple definition of `Interactor::f'; /tmp/cc4His6J.o:(.bss+0x15ffc0): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x19a860): multiple definition of `Interactor::dep'; /tmp/cc4His6J.o:(.bss+0x138dc0): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x190be0): multiple definition of `Interactor::siz'; /tmp/cc4His6J.o:(.bss+0x12f140): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x186f60): multiple definition of `Interactor::wsn'; /tmp/cc4His6J.o:(.bss+0x1254c0): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o: in function `Interactor::dfs2(int, int, int)':
answer.code:(.text+0x990): multiple definition of `Interactor::dfs2(int, int, int)'; /tmp/cc4His6J.o:implementer.cpp:(.text+0x570): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x17d2e0): multiple definition of `Interactor::tp'; /tmp/cc4His6J.o:(.bss+0x11b840): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x1ae160): multiple definition of `Interactor::ed'; /tmp/cc4His6J.o:(.bss+0x14c6c0): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x1b7de0): multiple definition of `Interactor::dfn'; /tmp/cc4His6J.o:(.bss+0x156340): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x1cb6cc): multiple definition of `Interactor::tot'; /tmp/cc4His6J.o:(.bss+0x169c2c): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x1a44e0): multiple definition of `Interactor::rev'; /tmp/cc4His6J.o:(.bss+0x142a40): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x173660): multiple definition of `Interactor::bt'; /tmp/cc4His6J.o:(.bss+0x111bc0): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x1699e0): multiple definition of `Interactor::bla'; /tmp/cc4His6J.o:(.bss+0x107f40): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o: in function `Interactor::init()':
answer.code:(.text+0xaa0): multiple definition of `Interactor::init()'; /tmp/cc4His6J.o:implementer.cpp:(.text+0x680): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x1cb6d8): multiple definition of `Interactor::n'; /tmp/cc4His6J.o:(.bss+0x169c38): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x1cb6c8): multiple definition of `Interactor::tid'; /tmp/cc4His6J.o:(.bss+0x169c28): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0xb9a80): multiple definition of `Interactor::iedge'; /tmp/cc4His6J.o:(.bss+0x57fe0): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x1cb6d0): multiple definition of `Interactor::y'; /tmp/cc4His6J.o:(.bss+0x169c30): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x1cb6d4): multiple definition of `Interactor::x'; /tmp/cc4His6J.o:(.bss+0x169c34): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o: in function `Interactor::sprdv(int, int)':
answer.code:(.text+0xf40): multiple definition of `Interactor::sprdv(int, int)'; /tmp/cc4His6J.o:implementer.cpp:(.text+0xb20): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x142840): multiple definition of `Interactor::val'; /tmp/cc4His6J.o:(.bss+0xe0da0): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o:(.bss+0x11b6a0): multiple definition of `Interactor::tval'; /tmp/cc4His6J.o:(.bss+0xb9c00): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o: in function `Interactor::modifyv(int, int, int, int, int, int)':
answer.code:(.text+0xf60): multiple definition of `Interactor::modifyv(int, int, int, int, int, int)'; /tmp/cc4His6J.o:implementer.cpp:(.text+0xb40): first defined here
/usr/bin/ld: /tmp/ccPgCtdN.o: in f...