QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#479762#8711. TilesMinaRagy06#Compile Error//C++201.3kb2024-07-15 20:46:252024-07-15 20:46:26

详细

answer.code: In function ‘int main()’:
answer.code:38:63: error: could not convert ‘{(& a.std::vector<std::array<int, 2> >::operator[](0))->std::array<int, 2>::operator[](0), (& a.std::vector<std::array<int, 2> >::operator[](0))->std::array<int, 2>::operator[](1)}’ from ‘<brace-enclosed initializer list>’ to ‘std::vector<std::array<int, 2> >’
   38 |                 vector<array<int, 2>> newa = {a[0][0], a[0][1]};
      |                                                               ^
      |                                                               |
      |                                                               <brace-enclosed initializer list>