QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#628854 | #9449. New School Term | ucup-team3583# | Compile Error | / | / | C++20 | 4.4kb | 2024-10-10 22:45:09 | 2024-10-10 22:45:09 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:159:32: error: no matching function for call to ‘DSU::merge(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, int)’ 159 | lst -= q, dsu.merge(block[i], 0); | ~~~~~~~~~^~~~~~~~~~~~~ answer.code:31:10: note: candidate: ‘void DSU::merge(int, int, int)’ 31 | void merge(int u, int v, int tag) { | ^~~~~ answer.code:31:10: note: candidate expects 3 arguments, 2 provided