Compile Error
foo.cc: In function 'void djikstra()': foo.cc:28:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<cost[u].size();j++){ ~^~~~~~~~~~~~~~~ foo.cc: In function 'int main()': foo.cc:37:18: error: 'n' was not declared in this scope fill(dis,dis+n+1,maxn); ^ foo.cc:37:18: note: suggested alternative: 'yn' fill(dis,dis+n+1,maxn); ^ yn foo.cc:38:15: error: lvalue required as increment operand fill(vi,vi++n+1,0); ^~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1284 路径
- 语言
- C++
- 递交时间
- 2021-07-26 09:36:28
- 评测时间
- 2021-07-26 09:36:28
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes