QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#272377#5070. Check Pattern is BadliangbowenCompile Error//C++143.0kb2023-12-02 17:04:142023-12-02 17:04:14

详细

answer.code: In function ‘bool cover_all()’:
answer.code:37:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   37 |                 auto [x, y] = q.front(); q.pop();
      |                      ^
answer.code:41:38: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   41 |                                 auto [t1, t2] = cover(dx, dy);
      |                                      ^
answer.code: In function ‘void solve()’:
answer.code:72:24: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
   72 |                 return 0;
      |                        ^
answer.code:77:30: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   77 |                         auto [t1, t2] = cover(i, j);
      |                              ^