Compile Error
/in/foo.cc:7:6: error: 'vector' in namespace 'std' does not name a template type
std::vector<int> adj[1010];
^~~~~~
/in/foo.cc: In function 'int Dfs(const int&)':
/in/foo.cc:13:25: error: 'adj' was not declared in this scope
for (register int i : adj[cur]) {
^~~
/in/foo.cc: In function 'int main(int, const char**)':
/in/foo.cc:25:7: error: 'adj' was not declared in this scope
adj[i].push_back(_);
^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1642 班长的任务
- 语言
- C++
- 递交时间
- 2018-11-01 08:22:35
- 评测时间
- 2018-11-01 08:22:35
- 评测机
- 分数
- 0
- 总耗时
- 113ms
- 峰值内存
- 15.082 MiB