Problem | typo |
---|---|
User | asbx |
Submission Time | 2023-12-06 15:10:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int main()’:
typo.cpp:15:7: error: incompatible types in assignment of ‘char [(<anonymous> + 1)]’ to ‘char [(<anonymous> + 1)]’
15 | s2 = s1;
| ^~
typo.cpp:16:7: error: incompatible types in assignment of ‘char [(<anonymous> + 1)]’ to ‘char [(<anonymous> + 1)]’
16 | t2 = t1;
| ^~
typo.cpp:20:6: error: ‘i’ was not declared in this scope
20 | for(i=0; i<int(s.length()-1); i++){
| ^