Problem | typo |
---|---|
User | Justyn |
Submission Time | 2024-06-19 10:53:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int main()’:
typo.cpp:17:6: error: redeclaration of ‘int n’
17 | int n = S.length();
| ^
typo.cpp:10:6: note: ‘int n’ previously declared here
10 | int n = S.length();
| ^
typo.cpp:24:1: error: expected ‘}’ at end of input
24 | }
| ^
typo.cpp:18:26: note: to match this ‘{’
18 | for(int i = 0; i<n; i++){
| ^
typo.cpp:24:1: error: expected ‘}’ at end of input
24 | }
| ^
typo.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^