运行 ID: 20839

Main.cc: In function ‘std::__cxx11::string add(std::__cxx11::string, std::__cxx11::string)’:
Main.cc:6:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(a.size()>_) a="0"+a;
        ~~~~~~~~^~
Main.cc:7:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(b.size()>_) b="0"+b;
        ~~~~~~~~^~
Main.cc:10:13: error: invalid conversion from ‘const char*’ to ‘__gnu_cxx::__alloc_traits >::value_type {aka char}’ [-fpermissive]
   c[i]=__%10+"0";
        ~~~~~^~~~
Main.cc: In function ‘int main()’:
Main.cc:20:22: error: expected primary-expression before ‘)’ token
  for(int i=k;i<=m;i+=){
                      ^
Main.cc:22:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   for(int j=1;j=i-1;j++){
               ~^~~~
Main.cc:23:4: error: ‘rs’ was not declared in this scope
    rs=add(dl,dl);
    ^~
Main.cc:27:9: error: invalid use of member function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
  if(ans.size<=6) cout<