/ Vijos /

记录详情

Accepted

foo.cc: In function 'int bfs_1(int, int, int*, int*)':
foo.cc:59:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   59 |         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:109:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  109 |             scanf("%d",&a[i]);
      |             ~~~~~^~~~~~~~~~~~
foo.cc:113:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  113 |             scanf("%d%d%d",&a,&b,&c);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 7ms 384.0 KiB
#2 Accepted 8ms 384.0 KiB
#3 Accepted 7ms 384.0 KiB
#4 Accepted 5ms 384.0 KiB
#5 Accepted 10ms 384.0 KiB
#6 Accepted 16ms 512.0 KiB
#7 Accepted 122ms 640.0 KiB
#8 Accepted 197ms 768.0 KiB
#9 Accepted 210ms 896.0 KiB
#10 Accepted 532ms 1.125 MiB

信息

递交者
类型
递交
题目
P1825 志愿者招募
语言
C++
递交时间
2021-12-29 20:51:53
评测时间
2021-12-29 20:51:53
评测机
分数
100
总耗时
1119ms
峰值内存
1.125 MiB