/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool search(std::__cxx11::string, std::__cxx11::string, int)':
/in/foo.cc:101:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while (j<s.length() && i<s1.length())
         ~^~~~~~~~~~~
/in/foo.cc:101:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while (j<s.length() && i<s1.length())
                         ~^~~~~~~~~~~~
/in/foo.cc:107:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (i<s1.length()) return false;
      ~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:140:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(j=0; j<s1.length(); ++j)
             ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 5ms 1.0 MiB
#2 Wrong Answer 4ms 1.0 MiB
#3 Accepted 3ms 1.102 MiB
#4 Wrong Answer 4ms 1.0 MiB
#5 Wrong Answer 3ms 1.0 MiB

信息

递交者
类型
递交
题目
P1124 字串变换
语言
C++
递交时间
2017-09-05 21:48:29
评测时间
2017-09-05 21:48:29
评测机
分数
10
总耗时
21ms
峰值内存
1.102 MiB