Problem typoswap
User skibidininja98
Submission Time 2024-06-21 12:35:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typoswap.cpp: In function ‘int main()’:
typoswap.cpp:7:5: error: ‘s’ was not declared in this scope
7 | if(s==t){
| ^
typoswap.cpp:7:8: error: ‘t’ was not declared in this scope
7 | if(s==t){
| ^
typoswap.cpp:8:11: error: expected primary-expression before ‘;’ token
8 | cout << ;
| ^
typoswap.cpp:12:17: error: ‘s’ was not declared in this scope
12 | for(int i=0; i<s.length()-1; i++){
| ^