/ 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)
      |                ^
foo.cc: In function 'int main()':
foo.cc:60:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   60 |             scanf("%d%d",&x,&y);
      |             ~~~~~^~~~~~~~~~~~~~
foo.cc:67:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   67 |             scanf("%d",&d);
      |             ~~~~~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 508.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 1ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 3ms 384.0 KiB
#9 Accepted 68ms 640.0 KiB
#10 Accepted 10ms 896.0 KiB

信息

递交者
类型
递交
题目
P1462 小胖的难题
语言
C++
递交时间
2022-07-19 16:56:39
评测时间
2022-07-19 16:56:39
评测机
分数
100
总耗时
98ms
峰值内存
896.0 KiB