Problem typo
User ToiletBrIcker
Submission Time 2024-06-19 09:48:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp: In function ‘int main()’:
typo.cpp:7:2: error: ‘n’ was not declared in this scope
7 | n = S.length()
| ^
typo.cpp:9:22: error: ‘N’ was not declared in this scope
9 | for (int i = 0; i < N-1; i ++){
| ^
typo.cpp:11:12: error: ‘J’ was not declared in this scope
11 | if (S == J){
| ^
typo.cpp:12:4: error: ‘yoos’ was not declared in this scope
12 | yoos = true;
| ^~~~
typo.cpp:22:6: error: ‘yoos’ was not declared in this scope
22 | if (yoos){
| ^~~~
typo.cpp:23:21: error: expected ‘;’ before ‘}’ token
23 | std::cout << "Yes"
| ^
| ;
24 | }
| ~
typo.cpp:26:20: error: expected ‘;’ before ‘}’ token
26 | std::cout << "No"
| ^
| ;
27 | }
| ~