0_0_39255129_21489.cpp:3:229: error: missing terminating ' character
3 | using namespace std; int n; string s; int main(){ cin>>n; for(int i=1;i<=n;i++){ getline(cin,s); int start=0,end=s.size(); for(int j=0;j<s.size();j++){ if(s[j]==' '){ end=j-1; for(int z=end;z>=start;z--){ cout<<s[i]; } cout<<" "'; start=j+1; } } cout<<endl; } return 0; }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0_0_39255129_21489.cpp: In function 'int main()':
0_0_39255129_21489.cpp:3:229: error: expected ';' at end of input
3 | using namespace std; int n; string s; int main(){ cin>>n; for(int i=1;i<=n;i++){ getline(cin,s); int start=0,end=s.size(); for(int j=0;j<s.size();j++){ if(s[j]==' '){ end=j-1; for(int z=end;z>=start;z--){ cout<<s[i]; } cout<<" "'; start=j+1; } } cout<<endl; } return 0; }
| ^
| ;
0_0_39255129_21489.cpp:3:229: error: expected '}' at end of input
3 | using namespace std; int n; string s; int main(){ cin>>n; for(int i=1;i<=n;i++){ getline(cin,s); int start=0,end=s.size(); for(int j=0;j<s.size();j++){ if(s[j]==' '){ end=j-1; for(int z=end;z>=start;z--){ cout<<s[i]; } cout<<" "'; start=j+1; } } cout<<endl; } return 0; }
| ~ ^
0_0_39255129_21489.cpp:3:229: error: expected '}' at end of input
3 | using namespace std; int n; string s; int main(){ cin>>n; for(int i=1;i<=n;i++){ getline(cin,s); int start=0,end=s.size(); for(int j=0;j<s.size();j++){ if(s[j]==' '){ end=j-1; for(int z=end;z>=start;z--){ cout<<s[i]; } cout<<" "'; start=j+1; } } cout<<endl; } return 0; }
| ~ ^
0_0_39255129_21489.cpp:3:229: error: expected '}' at end of input
3 | using namespace std; int n; string s; int main(){ cin>>n; for(int i=1;i<=n;i++){ getline(cin,s); int start=0,end=s.size(); for(int j=0;j<s.size();j++){ if(s[j]==' '){ end=j-1; for(int z=end;z>=start;z--){ cout<<s[i]; } cout<<" "'; start=j+1; } } cout<<endl; } return 0; }
| ~ ^
0_0_39255129_21489.cpp:3:229: error: expected '}' at end of input
3 | using namespace std; int n; string s; int main(){ cin>>n; for(int i=1;i<=n;i++){ getline(cin,s); int start=0,end=s.size(); for(int j=0;j<s.size();j++){ if(s[j]==' '){ end=j-1; for(int z=end;z>=start;z--){ cout<<s[i]; } cout<<" "'; start=j+1; } } cout<<endl; } return 0; }
| ~ ^
|