Compile Error
foo.cc: In function 'void update(int, int)': foo.cc:25:13: error: 'now' was not declared in this scope 25 | if (now.dis + i->dis < dis[i->id]) Q.push(node(i->id, dis[i->id] = now.dis + i->dis)); | ^~~ foo.cc:25:23: error: 'i' was not declared in this scope; did you mean 'id'? 25 | if (now.dis + i->dis < dis[i->id]) Q.push(node(i->id, dis[i->id] = now.dis + i->dis)); | ^ | id
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- 秘密 (secret.*)
- 题目数据
- 下载
- 语言
- C++
- 递交时间
- 2023-10-02 23:04:46
- 评测时间
- 2023-10-02 23:04:46
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes