QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#235383#6328. Many Productsucup-team1721#Compile Error//C++1713.6kb2023-11-02 18:29:482023-11-02 18:29:49

详细

answer.code:297:6: error: stray ‘#’ in program
  297 |     }#include <bits/stdc++.h>
      |      ^
answer.code: In function ‘int main()’:
answer.code:297:7: error: ‘include’ was not declared in this scope
  297 |     }#include <bits/stdc++.h>
      |       ^~~~~~~
answer.code:297:16: error: ‘bits’ was not declared in this scope
  297 |     }#include <bits/stdc++.h>
      |                ^~~~
answer.code:297:21: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
  297 |     }#include <bits/stdc++.h>
      |                     ^~~~
      |                     std
answer.code:299:1: error: expected primary-expression before ‘using’
  299 | using i64 = std::int64_t;
      | ^~~~~
answer.code:301:1: error: a template declaration cannot appear at block scope
  301 | template <class T>
      | ^~~~~~~~
answer.code:375:1: error: a template declaration cannot appear at block scope
  375 | template <class Z>
      | ^~~~~~~~
answer.code:481:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
  481 | int main()
      |         ^~
answer.code:481:9: note: remove parentheses to default-initialize a variable
  481 | int main()
      |         ^~
      |         --
answer.code:481:9: note: or replace parentheses with braces to value-initialize a variable
answer.code:482:1: error: a function-definition is not allowed here before ‘{’ token
  482 | {
      | ^