dna.cpp: In function 'std::__cxx11::string analyse(int, int)':
dna.cpp:12:36: error: 'add' was not declared in this scope
if(make_test(add("",mid,'1'))){
^
dna.cpp:18:25: error: 'add' was not declared in this scope
res = add("",cur,'1');
^
dna.cpp:21:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(tmp.size()<n){
^
dna.cpp:48:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(res.size()<n){
^
grader.cpp: In function 'bool make_test(std::__cxx11::string)':
grader.cpp:14:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < p.size(); i++) {
^
grader.cpp:23:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= ss.size(); i++) {
^
grader.cpp:28:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pr[i] == p.size()) {
^