/ 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.648 MiB
#2 Accepted 8ms 5.75 MiB
#3 Accepted 7ms 5.75 MiB
#4 Accepted 7ms 5.75 MiB
#5 Accepted 11ms 5.75 MiB
#6 Accepted 13ms 6.297 MiB
#7 Accepted 96ms 12.367 MiB
#8 Accepted 214ms 18.992 MiB
#9 Accepted 227ms 18.992 MiB
#10 Accepted 228ms 19.117 MiB

信息

递交者
类型
递交
题目
P1476 旅游规划(csapc)
语言
C++
递交时间
2022-02-27 17:07:39
评测时间
2022-02-27 17:07:39
评测机
分数
100
总耗时
825ms
峰值内存
19.117 MiB