/ 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 5ms 5.875 MiB
#2 Accepted 6ms 5.625 MiB
#3 Accepted 7ms 5.75 MiB
#4 Accepted 8ms 5.75 MiB
#5 Accepted 6ms 5.75 MiB
#6 Accepted 10ms 6.25 MiB
#7 Accepted 81ms 11.117 MiB
#8 Accepted 190ms 16.617 MiB
#9 Accepted 215ms 16.617 MiB
#10 Accepted 203ms 16.617 MiB

信息

递交者
类型
递交
题目
P1476 旅游规划(csapc)
语言
C++
递交时间
2021-12-19 17:05:08
评测时间
2021-12-19 18:01:05
评测机
分数
100
总耗时
735ms
峰值内存
16.617 MiB