QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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); | ~~~~~^~~~~~~~~~