QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#369023#8134. LCA Countingucup-team1617#Compile Error//C++231.9kb2024-03-27 19:34:202024-03-27 19:34:21

詳細信息

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);
      |                 ~~~~~^~~~~~~~~~