记录详情

Wrong Answer

In file included from /usr/include/c++/6/backward/hash_map:60:0,
                 from /in/foo.cc:16:
/usr/include/c++/6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
/in/foo.cc: In function 'bool check(std::__cxx11::string)':
/in/foo.cc:25:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<ls.size();i++)
              ~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:48:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<ls.size();i++)
              ~^~~~~~~~~~
/in/foo.cc:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<s.length();j++)
               ~^~~~~~~~~~~
/in/foo.cc:53:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int k=j+1;k<s.length();k++)
                  ~^~~~~~~~~~~
/in/foo.cc:79:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=0;j<s.length();j++)
                ~^~~~~~~~~~~
/in/foo.cc:92:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else if(j==s.length()-1)
             ~^~~~~~~~~~~~~~
/in/foo.cc:113:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(int k=0;k<s.length();k++)
                  ~^~~~~~~~~~~
/in/foo.cc:128:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(mabit>s.size()&&s.size()>=2)
      ~~~~~^~~~~~~~~
/in/foo.cc:130:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j = 0;j<s.length()-1;j++)
                  ~^~~~~~~~~~~~~
/in/foo.cc:135:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(int k=0;k<s.length();k++)
                  ~^~~~~~~~~~~
/in/foo.cc:157:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int k=0;k<s.length();k++)
                 ~^~~~~~~~~~~
/in/foo.cc:175:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int k=0;k<s.length();k++)
                 ~^~~~~~~~~~~
/in/foo.cc:178:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if(k==s.length()-1)
         ~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 1ms 212.0 KiB
#3 Wrong Answer 1ms 220.0 KiB
#4 Wrong Answer 1ms 212.0 KiB
#5 Wrong Answer 1ms 220.0 KiB
#6 Accepted 1ms 212.0 KiB
#7 Wrong Answer 17ms 384.0 KiB
#8 Wrong Answer 38ms 392.0 KiB
#9 Wrong Answer 174ms 444.0 KiB
#10 Wrong Answer 5ms 336.0 KiB

信息

递交者
类型
递交
题目
P1131 教主的难题
语言
C++
递交时间
2020-02-15 16:19:13
评测时间
2020-02-15 17:07:37
评测机
分数
30
总耗时
244ms
峰值内存
444.0 KiB