QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#369023 | #8134. LCA Counting | ucup-team1617# | Compile Error | / | / | C++23 | 1.9kb | 2024-03-27 19:34:20 | 2024-03-27 19:34:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In lambda function: answer.code:59:22: error: ‘sort’ is not a member of ‘std’; did you mean ‘qsort’? 59 | std::sort(all(larg)); | ^~~~ | qsort answer.code: In function ‘int main()’: answer.code:33:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 33 | scanf("%d", &N); | ~~~~~^~~~~~~~~~ answer.code:38:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 38 | scanf("%d", &p); | ~~~~~^~~~~~~~~~