/ Vijos /

记录详情

Accepted

foo.cc: In function 'int bfs_1(int)':
foo.cc:31:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   31 |         for (int i=1;i<a[now].size();i++)
      |                      ~^~~~~~~~~~~~~~
foo.cc:32:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   32 |             if (del[a[now][i]]==0)
      |                ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 4ms 520.0 KiB
#7 Accepted 6ms 412.0 KiB
#8 Accepted 7ms 456.0 KiB
#9 Accepted 138ms 772.0 KiB
#10 Accepted 20ms 924.0 KiB

信息

递交者
类型
递交
题目
P1462 小胖的难题
语言
C++
递交时间
2023-12-09 08:39:15
评测时间
2023-12-09 08:39:15
评测机
分数
100
总耗时
198ms
峰值内存
924.0 KiB