/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int getNum(int*, int, int)':
/in/foo.cc:15:5: warning: no return statement in function returning non-void [-Wreturn-type]
     }
     ^
/in/foo.cc: In function 'bool find(int)':
/in/foo.cc:88:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if(j==s.size()-1&&s[i]=='0') return false;
         ~^~~~~~~~~~~~
/in/foo.cc:91:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if(j>=s.size()-1) return true;
           ~^~~~~~~~~~~~
/in/foo.cc:92:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if(n>=s.size()-1) {n=s.size()-1;if(!tailCheck(i,j,m,n)) return false;}
           ~^~~~~~~~~~~~
/in/foo.cc: In function 'bool Equal000(std::__cxx11::string)':
/in/foo.cc:166:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(int i=0;i<s1.size();++i)
                  ~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:184:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int l=1;l<=s1.size();++l)
                 ~^~~~~~~~~~~
/in/foo.cc:230:5: error: expected '}' at end of input
     }
     ^

信息

递交者
类型
递交
题目
P1005 超长数字串
语言
C++
递交时间
2018-07-23 14:16:27
评测时间
2018-07-23 14:16:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes