Compile Error
foo.cc: In function ‘std::string tran(int, int)’: foo.cc:16:9: error: ‘reverse’ was not declared in this scope 16 | reverse(ans.begin(), ans.end()); | ^~~~~~~ foo.cc: In function ‘int main()’: foo.cc:25:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 25 | for (int i = 0; i < num.size(); i++) | ~~^~~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1575 Problem 3A. 数圈圈
- 比赛
- 2024春 悬赏令第三周
- 语言
- C++
- 递交时间
- 2024-05-04 18:16:52
- 评测时间
- 2024-05-04 18:16:52
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes