/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'bool compare(int, int, std::__cxx11::string)':
foo.cc:10:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(int i=0;i<tool.size()-(y-x);++i)
                  ~^~~~~~~~~~~~~~~~~~
foo.cc: In function 'int ELFhash(std::__cxx11::string)':
foo.cc:24:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while(i<s.size())
           ~^~~~~~~~~
foo.cc: In function 'bool search(int, std::__cxx11::string)':
foo.cc:42:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(i=0;i<s.size();++i)
              ~^~~~~~~~~
foo.cc:45:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(j=1;j<s.size();++j)
              ~^~~~~~~~~
foo.cc:49:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      while(j<s.size())
            ~^~~~~~~~~
foo.cc:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while(i<s.size()&&(s[i]=='C'||s[i]=='O'||s[i]=='W')) i++;
               ~^~~~~~~~~
foo.cc:53:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while(j<s.size()&&s[j]!='C'&&s[j]!='O'&&s[j]!='W') j++;
               ~^~~~~~~~~
foo.cc:60:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(int j=0;j<s.size();++j)
                  ~^~~~~~~~~

自豪的采用jd5进行评测(github.com/masnn/jd5)
{"receive":"2020-02-16T03:03:30.721Z","handle":"2020-02-16T03:03:30.721Z","cache_start":"2020-02-16T03:03:30.721Z","read_cases":"2020-02-16T03:03:30.882Z","judge":"2020-02-16T03:03:30.883Z","done":"2020-02-16T03:03:32.006Z"}
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 252.0 KiB
#2 Accepted 2ms 252.0 KiB
#3 Accepted 2ms 252.0 KiB
#4 Accepted 2ms 364.0 KiB
#5 Accepted 2ms 340.0 KiB
#6 Accepted 3ms 396.0 KiB
#7 Accepted 34ms 400.0 KiB
#8 Accepted 2ms 232.0 KiB
#9 Accepted 28ms 404.0 KiB
#10 Accepted 149ms 408.0 KiB

信息

递交者
类型
递交
题目
P1031 奶牛加密术
语言
C++
递交时间
2020-02-16 11:03:30
评测时间
2020-02-16 11:03:30
评测机
分数
90
总耗时
226ms
峰值内存
408.0 KiB