记录详情

Accepted

foo.cc: In function 'void Output(std::vector<int>&)':
foo.cc:9:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    9 |  for(int i=0; i<v.size(); i++)
      |               ~^~~~~~~~~
foo.cc: In function 'int FindMin(std::vector<int>&)':
foo.cc:17:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |  for(int i=0; i<s.size(); i++)
      |               ~^~~~~~~~~
foo.cc: In function 'int ANS(std::vector<int>&)':
foo.cc:28:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |  for(int k=0; k<v.size(); k++)
      |               ~^~~~~~~~~
foo.cc:30:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   30 |   for(int i=k+1; i<v.size(); i++)
      |                  ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 6ms 512.0 KiB
#5 Accepted 30ms 384.0 KiB

信息

递交者
类型
递交
题目
4-1 旅游住处
语言
C++
递交时间
2022-08-09 13:30:18
评测时间
2022-08-09 13:30:18
评测机
分数
100
总耗时
47ms
峰值内存
512.0 KiB