Accepted
/in/foo.cc: In function 'int spfa(int, int, long long int&, long long int&)': /in/foo.cc:37:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<g[u].size();++i) { ~^~~~~~~~~~~~ /in/foo.cc:28:31: warning: iteration 1005 invokes undefined behavior [-Waggressive-loop-optimizations] for(int i=0;i<=1005;++i) d[i]=INF; ~~~~^~~~ /in/foo.cc:28:15: note: within this loop for(int i=0;i<=1005;++i) d[i]=INF; ~^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1525 生命之泉
- 语言
- C++
- 递交时间
- 2018-01-10 20:55:24
- 评测时间
- 2018-01-10 20:55:24
- 评测机
- 分数
- 100
- 总耗时
- 250ms
- 峰值内存
- 640.0 KiB