QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#341367 | #8134. LCA Counting | ucup-team199 | Compile Error | / | / | C++14 | 1.9kb | 2024-02-29 18:01:44 | 2024-02-29 18:01:44 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:66:11: error: ‘class std::set<std::pair<int, int> >’ has no member named ‘erease’; did you mean ‘erase’? 66 | S.erease(S.rbegin()); | ^~~~~~ | erase answer.code:32:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 32 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ answer.code:35:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 35 | scanf("%d", &p); | ~~~~~^~~~~~~~~~