/in/foo.cc: In function 'bool two(std::__cxx11::string, int)':
/in/foo.cc:15:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==s.length()-1) {
~^~~~~~~~~~~~~~
/in/foo.cc: In function 'bool one(std::__cxx11::string, int)':
/in/foo.cc:24:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==s.length()-1) {
~^~~~~~~~~~~~~~
/in/foo.cc: In function 'SuanShi huajian(std::__cxx11::string)':
/in/foo.cc:98:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<s.length(); i++) {
~^~~~~~~~~~~
/in/foo.cc:108:45: error: 'tap' was not declared in this scope
q.two.push_back(tap(p,yudeng,pushone,fu));
^
/in/foo.cc:110:45: error: 'tap' was not declared in this scope
q.one.push_back(tap(p,yudeng,pushone,fu));
^
/in/foo.cc:112:38: error: 'tap' was not declared in this scope
q.zero.push_back(tap(p,yudeng,fu));
^
/in/foo.cc:134:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(yudeng=0) {
^
/in/foo.cc:151:12: error: a function-definition is not allowed here before '{' token
int main() {
^
/in/foo.cc:91:6: warning: unused variable 'a' [-Wunused-variable]
int a=0;
^
/in/foo.cc:205:1: error: expected '}' at end of input
}
^
/in/foo.cc:205:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^