/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:19:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  rep(i, 0, l1 - 1) s1 *= 131, s1 += c1[i];
                 ^
foo.cc:8:52: note: in definition of macro 'rep'
 #define rep(a, b, c) for (register int a = b; a <= c; ++ a)
                                                    ^
foo.cc:20:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  rep(i, 1, l1) ss[i] = ss[i - 1] * 131 + c2[i - 1];
            ^
foo.cc:8:52: note: in definition of macro 'rep'
 #define rep(a, b, c) for (register int a = b; a <= c; ++ a)
                                                    ^
foo.cc:21:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  int ans = 0; rep(i, l1, l2) {
                          ^
foo.cc:8:52: note: in definition of macro 'rep'
 #define rep(a, b, c) for (register int a = b; a <= c; ++ a)
                                                    ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 0 ,应为 2 3ms 4.988 MiB
#2 Wrong Answer 读取到 0 ,应为 3 4ms 4.988 MiB
#3 Wrong Answer 读取到 7 ,应为 3476 4ms 5.742 MiB
#4 Wrong Answer 读取到 0 ,应为 10001 2ms 5.121 MiB
#5 Wrong Answer 读取到 3 ,应为 10004 3ms 5.117 MiB
#6 Wrong Answer 读取到 0 ,应为 8001 9ms 8.461 MiB
#7 Wrong Answer 读取到 3745 ,应为 250000 11ms 8.48 MiB
#8 Wrong Answer 读取到 0 ,应为 160000 10ms 8.32 MiB
#9 Wrong Answer 读取到 0 ,应为 170000 12ms 8.492 MiB
#10 Wrong Answer 读取到 56 ,应为 250000 13ms 8.516 MiB
#11 Wrong Answer 读取到 0 ,应为 30000 9ms 8.492 MiB

信息

递交者
类型
递交
题目
P1425 子串清除
语言
C++
递交时间
2020-11-01 20:30:36
评测时间
2020-11-01 20:30:36
评测机
分数
0
总耗时
86ms
峰值内存
8.516 MiB