QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#360469#6350. MITppipCompile Error//C++144.3kb2024-03-21 19:56:202024-03-21 19:56:21

详细

answer.code: In function ‘void init(LL, LL)’:
answer.code:79:19: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   79 |         for (auto [v,w]:e[u])
      |                   ^
answer.code: In function ‘P operator+(const P&, const P&)’:
answer.code:150:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  150 |         auto [x,y]=a;
      |              ^
answer.code: At global scope:
answer.code:3:13: error: ‘::main’ must return ‘int’
    3 | #define int LL
      |             ^~
answer.code:171:1: note: in expansion of macro ‘int’
  171 | int main() {
      | ^~~
answer.code: In function ‘int main()’:
answer.code:184:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  184 |                 auto [a,b]{S.t[1]};
      |                      ^