/ Vijos /

记录详情

Accepted

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

信息

递交者
类型
递交
题目
P1729 Knights
语言
C++
递交时间
2022-01-12 16:50:36
评测时间
2022-01-12 16:50:36
评测机
分数
100
总耗时
196ms
峰值内存
1.75 MiB