Compile Error
foo.cc: In function 'int main()': foo.cc:11:5: error: 'reverse' was not declared in this scope 11 | reverse(s.begin(), s.end()); | ^~~~~~~ foo.cc:14:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 14 | for ( int i = beg; i < s.size(); i ++ ) cout << s[i]; | ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- p1032 任意整数的逆序数
- 语言
- C++
- 递交时间
- 2021-12-14 18:29:08
- 评测时间
- 2021-12-14 18:29:08
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes