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)
^