QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#243406#3040. ContainerHuangHanShengCompile Error//C++204.6kb2023-11-08 10:13:092023-11-08 10:13:10

详细

answer.code: In function ‘int main()’:
answer.code:130:15: error: ‘i’ was not declared in this scope
  130 |       if (map[i][j]) {
      |               ^
answer.code:45:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   45 |   scanf("%d%d%s%s", &n, &c, a + 1, b + 1);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~