QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#359298#6306. Chase GameHuangHanShengCompile Error//C++112.7kb2024-03-20 15:57:282024-03-20 15:57:29

详细

answer.code:118:2: error: ‘inal’ does not name a type
  118 | }inal Contest
      |  ^~~~
answer.code: In function ‘int main()’:
answer.code:82:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   82 |     scanf("%lld%lld%lld%lld",&n,&m,&K,&D);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:84:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   84 |         scanf("%lld%lld",&x,&y),e.lnk(x,y),e.lnk(y,x);
      |         ~~~~~^~~~~~~~~~~~~~~~~~