/ 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)
      |                ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Accepted 2ms 320.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 3ms 324.0 KiB
#5 Accepted 2ms 536.0 KiB
#6 Accepted 2ms 536.0 KiB
#7 Accepted 4ms 536.0 KiB
#8 Accepted 4ms 536.0 KiB
#9 Accepted 12ms 984.0 KiB
#10 Accepted 90ms 836.0 KiB

信息

递交者
类型
递交
题目
P1462 小胖的难题
语言
C++
递交时间
2024-03-21 20:35:34
评测时间
2024-03-21 20:35:34
评测机
分数
100
总耗时
129ms
峰值内存
984.0 KiB