Main.cpp: In function 'std::string solve(std::string&)':
Main.cpp:28:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(int i = 0;i < s.size();i++){
| ~~^~~~~~~~~~
Main.cpp:35:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i = 0;i < s.size();i++){
| ~~^~~~~~~~~~
Main.cpp:47:14: error: expected ';' before 'for'
47 | ans.clear()
| ^
| ;
48 | for(int i = 0;i < n;i++)
| ~~~
Main.cpp:48:17: error: 'i' was not declared in this scope
48 | for(int i = 0;i < n;i++)
| ^
Main.cpp: In function 'int main()':
Main.cpp:73:7: warning: unused variable 'tam' [-Wunused-variable]
73 | int tam = 1;
| ^~~