记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:35:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   35 |     for (int i=0; i<p.size(); i++) {
      |                   ~^~~~~~~~~
foo.cc:46:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   46 |     if(locmax!=p.size()-1) ans2=max(_max-p[locmax+1],ans2);
      |        ~~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Accepted 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1408 Problem 5C. 旋转数组
比赛
悬赏令第五周
语言
C++
递交时间
2023-05-22 11:25:18
评测时间
2023-05-24 23:25:50
评测机
分数
100
总耗时
3ms
峰值内存
284.0 KiB