Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:172:43: error: request for member 'dfn' in 'g', which is of pointer type 'graph*' (maybe you meant to use '->' ?) else printf("%lld\n",ans+g->dis(g.dfn[*s.begin()],g.dfn[*s.rbegin()])); ^~~ /in/foo.cc:172:61: error: request for member 'dfn' in 'g', which is of pointer type 'graph*' (maybe you meant to use '->' ?) else printf("%lld\n",ans+g->dis(g.dfn[*s.begin()],g.dfn[*s.rbegin()])); ^~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1946 寻宝游戏
- 语言
- C++
- 递交时间
- 2018-02-28 22:55:22
- 评测时间
- 2018-02-28 22:55:22
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes