QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#516305#8217. King's DinnerZhaoZiLongCompile Error//C++143.2kb2024-08-12 15:50:132024-08-12 15:50:13

詳細信息

answer.code: In function ‘int main()’:
answer.code:190:35: error: expected ‘;’ before ‘if’
  190 |                                 {1
      |                                   ^
      |                                   ;
  191 |                                         if(a[i][j] == 0) cout << ".";
      |                                         ~~
answer.code:192:41: error: ‘else’ without a previous ‘if’
  192 |                                         else cout << "#";
      |                                         ^~~~