QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#32955#141. 8 染色std_killerCompile Error//C++201.4kb2022-05-26 00:32:532023-01-15 15:04:38

詳細信息

Bob.code: In function ‘std::vector<int> Bob(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’:
Bob.code:25:17: error: ‘G’ was not declared in this scope
   25 |                 G[U[i]].push_back(V[i]);
      |                 ^
In file included from /usr/include/c++/11/cassert:44,
                 from Bob.code:2:
Bob.code:30:32: error: ‘G’ was not declared in this scope
   30 |                         assert(G[i].size() <= 7);
      |                                ^