/ Vijos /

记录详情

Accepted

foo.cc: In function 'int bfs_1(int, int, int*, int*)':
foo.cc:58:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   58 |         for (int i=0;i<cw[now].size();i++)
      |                      ~^~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:99:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   99 |         for (int i=0;i<cw.size();i++)
      |                      ~^~~~~~~~~~
foo.cc:110:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  110 |             scanf("%d",&v);
      |             ~~~~~^~~~~~~~~
foo.cc:119:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  119 |                 scanf("%d",&cost);
      |                 ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 13ms 696.0 KiB
#2 Accepted 17ms 640.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 19ms 640.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 24ms 640.0 KiB
#7 Accepted 37ms 640.0 KiB
#8 Accepted 47ms 640.0 KiB
#9 Accepted 69ms 640.0 KiB
#10 Accepted 61ms 640.0 KiB

信息

递交者
类型
递交
题目
P1213 80人环游世界
语言
C++
递交时间
2022-02-22 09:53:17
评测时间
2022-02-22 09:53:17
评测机
分数
100
总耗时
295ms
峰值内存
696.0 KiB