/ Vijos /

记录详情

Accepted

foo.cc: In function 'int bfs_1(int, int)':
foo.cc:34:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   34 |         for (int i=0;i<c.size();i++)
      |                      ~^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:65:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   65 |             for (int i=0;i<c.size();i++)
      |                          ~^~~~~~~~~
foo.cc:62:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   62 |             scanf("%d%d",&n,&m);
      |             ~~~~~^~~~~~~~~~~~~~
foo.cc:68:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   68 |                 scanf("%d",&c[n+1+i][i]);
      |                 ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:72:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   72 |                 scanf("%d%d",&x,&y);
      |                 ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 3ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1590 笨笨的洪水堵截
语言
C++
递交时间
2022-04-13 14:30:26
评测时间
2022-04-13 14:30:26
评测机
分数
100
总耗时
35ms
峰值内存
384.0 KiB