Main.cpp: In constructor 'ter::ter(const string&)':
Main.cpp:6:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | for (int i = 0; i < seqq.size(); ++i) {
| ~~^~~~~~~~~~~~~
Main.cpp: In member function 'ter ter::operator*(int)':
Main.cpp:21:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for (int i = 0; i < seq.size(); ++i) {
| ~~^~~~~~~~~~~~
Main.cpp: In member function 'ter ter::operator+(const ter&)':
Main.cpp:31:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for (int i = 0; i < seq.size(); ++i) {
| ~~^~~~~~~~~~~~
Main.cpp: In function 'int main()':
Main.cpp:60:5: error: 'string' was not declared in this scope
60 | string s;
| ^~~~~~
Main.cpp:60:5: note: suggested alternatives:
In file included from /usr/include/c++/10/iosfwd:39,
from /usr/include/c++/10/ios:38,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from Main.cpp:1:
/usr/include/c++/10/bits/stringfwd.h:79:33: note: 'std::string'
79 | typedef basic_string<char> string;
| ^~~~~~
In file included from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from Main.cpp:1:
/usr/include/c++/10/string:67:11: note: 'std::pmr::string'
67 | using string = basic_string<char>;
| ^~~~~~
Main.cpp:61:17: error: 's' was not declared in this scope
61 | std::cin >> s;
| ^