/ Vijos /

记录详情

Accepted

foo.cc: In function 'void work_1(int)':
foo.cc:31:19: 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=0;i<s[now].size();i++)
      |                  ~^~~~~~~~~~~~~~
foo.cc: In function 'void work_2(int)':
foo.cc:63:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   63 |     for (int i=0;i<s[now].size();i++)
      |                  ~^~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:77:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   77 |             scanf("%d%d",&x,&y);
      |             ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 9ms 5.75 MiB
#2 Accepted 8ms 5.75 MiB
#3 Accepted 7ms 5.75 MiB
#4 Accepted 8ms 5.75 MiB
#5 Accepted 8ms 5.75 MiB
#6 Accepted 28ms 6.25 MiB
#7 Accepted 96ms 11.242 MiB
#8 Accepted 238ms 16.617 MiB
#9 Accepted 247ms 16.617 MiB
#10 Accepted 232ms 16.871 MiB

信息

递交者
类型
递交
题目
P1476 旅游规划(csapc)
语言
C++
递交时间
2022-04-21 21:54:02
评测时间
2022-04-21 21:54:02
评测机
分数
100
总耗时
886ms
峰值内存
16.871 MiB