QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#624363#6599. The Grand TournamentqiuzxCompile Error//C++204.8kb2024-10-09 15:40:142024-10-09 15:40:15

詳細信息

answer.code:5:30: warning: ‘-fwhole-program’ is not an option that controls warnings [-Wpragmas]
    5 | #pragma GCC diagnostic error "-fwhole-program"
      |                              ^~~~~~~~~~~~~~~~~
answer.code:6:30: warning: ‘-fcse-skip-blocks’ is not an option that controls warnings [-Wpragmas]
    6 | #pragma GCC diagnostic error "-fcse-skip-blocks"
      |                              ^~~~~~~~~~~~~~~~~~~
answer.code:7:30: warning: ‘-funsafe-loop-optimizations’ is not an option that controls warnings [-Wpragmas]
    7 | #pragma GCC diagnostic error "-funsafe-loop-optimizations"
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code: In function ‘Node getinter(Edge, Edge)’:
answer.code:51:42: error: ‘lINF’ was not declared in this scope; did you mean ‘LINF’?
   51 |         if(fabs(s1-s2)<eps) return Node(-lINF,-LINF);
      |                                          ^~~~
      |                                          LINF
answer.code: In function ‘int main()’:
answer.code:104:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  104 |         scanf("%d",&T);
      |         ~~~~~^~~~~~~~~
answer.code:108:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  108 |                         scanf("%d%d%d%d",&lx[i],&ly[i],&rx[i],&ry[i]);
      |                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~