记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:22:17: error: 'reverse' was not declared in this scope
   22 |                 reverse(nums.begin() + 1, nums.end());
      |                 ^~~~~~~
foo.cc:38:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   38 |                         for (int i = 0; i < nums.size(); i++)
      |                                         ~~^~~~~~~~~~~~~
foo.cc:44:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   44 |                 for (int i = start; i < nums.size(); i++)
      |                                     ~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1449 3-12 笨小羊数学
比赛
2023年暑期算法队集训赛1
语言
C++
递交时间
2023-07-07 10:12:49
评测时间
2023-07-07 10:12:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes