QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#474789#5589. Everything Is A NailGuanYunchangCompile Error//C++171.0kb2024-07-13 04:15:082024-07-13 04:15:09

详细

answer.code: In function ‘int main()’:
answer.code:34:30: error: expected identifier before numeric constant
   34 |     vector<int> possibles = [0, 1, 2];
      |                              ^
answer.code:34:31: error: expected ‘]’ before ‘,’ token
   34 |     vector<int> possibles = [0, 1, 2];
      |                               ^
      |                               ]
answer.code: In lambda function:
answer.code:34:31: error: expected ‘{’ before ‘,’ token
answer.code: In function ‘int main()’:
answer.code:34:29: error: conversion from ‘main()::<lambda()>’ to non-scalar type ‘std::vector<int>’ requested
   34 |     vector<int> possibles = [0, 1, 2];
      |                             ^~
answer.code:34:33: error: expected unqualified-id before numeric constant
   34 |     vector<int> possibles = [0, 1, 2];
      |                                 ^