Compile Error

foo.cc: In function ‘int main()’:
foo.cc:9:12: error: ‘i’ was not declared in this scope
    9 |         s3[i]+=my;
      |            ^
foo.cc: At global scope:
foo.cc:13:5: error: ‘cout’ does not name a type
   13 |     cout<<s3;
      |     ^~~~
foo.cc:14:5: error: expected unqualified-id before ‘return’
   14 |     return 0;
      |     ^~~~~~
foo.cc:15:1: error: expected declaration before ‘}’ token
   15 | }
      | ^

信息

递交者
类型
递交
题目
P3052 凯撒密码 GESP202603 三级T2
语言
C++
递交时间
2026-07-18 08:52:42
评测时间
2026-07-18 08:52:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes