QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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); | ~~~~~^~~~~~~~~~