QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#70011#2113. Zbalansowane słowaflowerCompile Error//C++988.9kb2023-01-06 20:11:032023-01-06 20:11:06

詳細信息

answer.code: In function ‘int main()’:
answer.code:388:41: error: ‘min’ is not a member of ‘std’
  388 |   printf("%d\n", solve(N, M, A, B, std::min(60, N)));
      |                                         ^~~
answer.code:378:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  378 |  scanf("%d", &T);
      |  ~~~~~^~~~~~~~~~
answer.code:380:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  380 |   scanf("%d %d", &N, &M);
      |   ~~~~~^~~~~~~~~~~~~~~~~
answer.code:384:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  384 |   for (i = 1; i <= M; i++) scanf("%d %d", &(A[i]), &(B[i]));
      |                            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~