Problem permgame
User LCJ
Submission Time 2025-06-17 23:24:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

permgame.cpp:69:1: error: expected ‘}’ at end of input
69 | }
| ^
permgame.cpp:9:12: note: to match this ‘{’
9 | struct DSU {
| ^
permgame.cpp: In member function ‘int DSU::Alice(int, int, std::vector<int>, std::vector<int>, int, std::vector<int>)’:
permgame.cpp:16:14: error: no matching function for call to ‘DSU::DSU(int&)’
16 | DSU dsu(m);
| ^
permgame.cpp:9:8: note: candidate: ‘constexpr DSU::DSU()’
9 | struct DSU {
| ^~~
permgame.cpp:9:8: note: candidate expects 0 arguments, 1 provided
permgame.cpp:9:8: note: candidate: ‘constexpr DSU::DSU(const DSU&)’
permgame.cpp:9:8: note: no known conversion for argument 1 from ‘int’ to ‘const DSU&’
permgame.cpp:9:8: note: candidate: ‘constexpr DSU::DSU(DSU&&)’
permgame.cpp:9:8: note: no known conversion for argument 1 from ‘int’ to ‘DSU&&’
permgame.cpp:18:13: error: ‘struct DSU’ has no member na