Compile Error
foo.cc: In function ‘int main()’:
foo.cc:10:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
10 | for (int i=0;i<=s3.size()-1;i++)
| ~^~~~~~~~~~~~~
foo.cc:14:36: error: expected ‘;’ before numeric constant
14 | s3[i]=s3[i]26;
| ^~
| ;
信息
- 递交者
- 类型
- 递交
- 题目
- P3052 凯撒密码 GESP202603 三级T2
- 语言
- C++
- 递交时间
- 2026-07-18 12:36:12
- 评测时间
- 2026-07-18 12:36:12
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes