dna.cpp: In lambda function:
dna.cpp:8:25: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
8 | if(query.size() > n){
| ~~~~~~~~~~~~~^~~
dna.cpp:12:17: error: 'is_substring' was not declared in this scope
12 | if(!is_substring(query, t)){
| ^~~~~~~~~~~~
dna.cpp:17:16: error: 'is_substring' was not declared in this scope
17 | if(is_substring(query, t)){
| ^~~~~~~~~~~~
dna.cpp: In function 'std::string analyse(int, int)':
dna.cpp:31:25: error: 'class std::vector<std::__cxx11::basic_string<char> >' has no member named 'pb'
31 | yes.pb(query);
| ^~
dna.cpp:35:24: error: 'class std::vector<std::__cxx11::basic_string<char> >' has no member named 'pb'
35 | no.pb(query);
| ^~
dna.cpp:42:25: error: 'class std::vector<std::__cxx11::basic_string<char> >' has no member named 'pb'
42 | yes.pb(query);
| ^~
dna.cpp:46:24: error: 'class std::vector<std::__cxx11::basic_string<char> >' has no member named 'pb'
46 | no.pb(query);
| ^~
dna.cpp:53:19: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'pb'
53 | query.pb('0'); // try zero
| ^~
dna.cpp:57:25: error: 'class std::vector<std::__cxx11::basic_string<char> >' has no member named 'pb'
57 | yes.pb(query);
| ^~
dna.cpp:61:24: error: 'class std::vector<std::__cxx11::basic_string<char> >' has no member named 'pb'
61 | no.pb(query);
| ^~
dna.cpp:68:25: error: 'class std::vector<std::__cxx11::basic_string<char> >' has no member named 'pb'
68 | yes.pb(query);
| ^~
dna.cpp:72:24: error: 'class std::vector<std::__cxx11::basic_string<char> >' has no member named 'pb'
72 | no.pb(query);
| ^~
grader.cpp: In function 'bool make_test(std::string)':
grader.cpp:14:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for (int i = 0; i < p.size(); i++) {
| ~~^~~~~~~~~~
grader.cpp:23:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for (int i = 1; i <= ss.size(); i++) {
| ~~^~~~~~~~~~~~
grader.cpp:28:13: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if (pr[i] == p.size()) {