QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#455851 | #2214. Link Cut Digraph | egypt_ioi2024_12 | Compile Error | / | / | C++20 | 2.3kb | 2024-06-26 21:46:11 | 2024-06-26 21:46:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In member function ‘bool DSU::unite(int, int)’: answer.code:59:25: error: expression cannot be used as a function 59 | ans-=(sz[p1]*1LL(sz[p1]-1))/2; | ~~~^~~~~~~~~~ answer.code:60:25: error: expression cannot be used as a function 60 | ans-=(sz[p2]*1LL(sz[p2]-1))/2; | ~~~^~~~~~~~~~ answer.code:63:25: error: expression cannot be used as a function 63 | ans+=(sz[p2]*1LL(sz[p2]-1))/2; | ~~~^~~~~~~~~~