QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#335277#7698. ISBN ConversionZhaoZiLongCompile Error//C++172.4kb2024-02-23 06:35:492024-02-23 06:35:50

詳細信息

answer.code:103:24: error: stray ‘\’ in program
  103 |         cout << ans << \n;
      |                        ^
answer.code: In function ‘int main()’:
answer.code:103:25: error: ‘n’ was not declared in this scope
  103 |         cout << ans << \n;
      |                         ^
answer.code:107:2: error: expected ‘}’ at end of input
  107 | }
      |  ^
answer.code:6:12: note: to match this ‘{’
    6 | int main() {
      |            ^