记录详情

Accepted

foo.cc: In function 'void Output(std::vector<int>&)':
foo.cc:10:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |         for(int i=0; i<v.size(); i++)
      |                      ~^~~~~~~~~
foo.cc: In function 'void Output(std::vector<bool>&)':
foo.cc:17:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |         for(int i=0; i<v.size(); i++)
      |                      ~^~~~~~~~~
foo.cc: In function 'int Sum(std::vector<int>&, std::vector<bool>&)':
foo.cc:25:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   25 |         for(int i=0; i<a.size(); i++)
      |                      ~^~~~~~~~~
foo.cc: In function 'void dfs(std::vector<int>&, int, std::vector<bool>&, int)':
foo.cc:36:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   36 |         if(ith==a.size())
      |            ~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 60ms 400.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 4ms 328.0 KiB
#6 Accepted 9ms 420.0 KiB
#7 Accepted 4ms 412.0 KiB
#8 Accepted 4ms 412.0 KiB
#9 Accepted 13ms 412.0 KiB
#10 Accepted 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1450 3-13 小猫爬山
比赛
2023年暑期算法队集训赛1
语言
C++
递交时间
2023-07-07 12:15:49
评测时间
2023-07-07 12:15:49
评测机
分数
100
总耗时
114ms
峰值内存
420.0 KiB