QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#602447#4606. 无限之环3un_larryfuncCompile Error//C++204.7kb2024-10-01 01:17:492024-10-01 01:17:49

详细

answer.code: In function ‘void solveBlack(int, int, std::string)’:
answer.code:69:9: error: expected ‘;’ before ‘if’
   69 |         if (op == "1010") return;
      |         ^~
answer.code: In function ‘int main()’:
answer.code:106:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  106 |         scanf("%d%d", &n, &m), s = 0, t = N - 1;
      |         ~~~~~^~~~~~~~~~~~~~~~
answer.code:110:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  110 |                         scanf("%d", &x);
      |                         ~~~~~^~~~~~~~~~