Problem typo
User klebinn
Submission Time 2026-07-14 15:58:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp:1:1: error: ‘string’ does not name a type
1 | string target = "abc";
| ^~~~~~
typo.cpp:2:1: error: ‘string’ does not name a type
2 | string s = "acb";
| ^~~~~~
typo.cpp:4:1: error: expected unqualified-id before ‘for’
4 | for (int i = 0; i < s.size(); i++) {
| ^~~
typo.cpp:4:17: error: ‘i’ does not name a type
4 | for (int i = 0; i < s.size(); i++) {
| ^
typo.cpp:4:31: error: ‘i’ does not name a type
4 | for (int i = 0; i < s.size(); i++) {
| ^