QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#688952#9230. Routing K-Codesucup-team1617#Compile Error//C++233.5kb2024-10-30 14:29:352024-10-30 14:29:37

详细

answer.code: In function ‘int main()’:
answer.code:128:28: error: ‘info’ was not declared in this scope; did you mean ‘Info’?
  128 |                         if(info.depth <= 32)
      |                            ^~~~
      |                            Info
answer.code:44:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   44 |         scanf("%d%d", &N, &M);
      |         ~~~~~^~~~~~~~~~~~~~~~
answer.code:57:32: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   57 |                 int a, b; scanf("%d%d", &a, &b);
      |                           ~~~~~^~~~~~~~~~~~~~~~