/ Vijos /

记录详情

Accepted

foo.cc: In function 'void Solve()':
foo.cc:20:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   20 |         for(int j=0;j < ship[i].size();++j)
      |                     ~~^~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:38:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   38 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
foo.cc:42:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   42 |         scanf("%d%d",&t,&k);
      |         ~~~~~^~~~~~~~~~~~~~
foo.cc:47:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   47 |             scanf("%d",&native);
      |             ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 3.375 MiB
#2 Accepted 5ms 3.5 MiB
#3 Accepted 5ms 3.375 MiB
#4 Accepted 7ms 3.5 MiB
#5 Accepted 5ms 3.375 MiB
#6 Accepted 6ms 3.5 MiB
#7 Accepted 5ms 3.461 MiB
#8 Accepted 6ms 3.375 MiB
#9 Accepted 6ms 3.441 MiB
#10 Accepted 5ms 3.5 MiB
#11 Accepted 6ms 3.5 MiB
#12 Accepted 8ms 3.5 MiB
#13 Accepted 7ms 3.5 MiB
#14 Accepted 8ms 3.5 MiB
#15 Accepted 120ms 9.992 MiB
#16 Accepted 108ms 9.992 MiB
#17 Accepted 113ms 9.996 MiB
#18 Accepted 115ms 9.992 MiB
#19 Accepted 136ms 10.117 MiB
#20 Accepted 110ms 9.992 MiB

信息

递交者
类型
递交
题目
P2011 海港
语言
C++
递交时间
2022-05-13 15:51:23
评测时间
2022-05-13 15:51:23
评测机
分数
100
总耗时
797ms
峰值内存
10.117 MiB