Compiler output
ver.cpp: In function 'int main(int, char**)':
ver.cpp:55:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<s[i].size(); ++j) {
^
ver.cpp: At global scope:
ver.cpp:41:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char *argv[]) {
^
prog.cpp: In function 'bool found(std::string)':
prog.cpp:38:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FORN(i, n) for(int i = 0; i < (n); ++i)
^
prog.cpp:67:2: note: in expansion of macro 'FORN'
FORN(i, s.SZ)
^
prog.cpp: In function 'int main()':
prog.cpp:38:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FORN(i, n) for(int i = 0; i < (n); ++i)
^
prog.cpp:96:3: note: in expansion of macro 'FORN'
FORN(i, sol.SZ)
^
prog.cpp:38:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FORN(i, n) for(int i = 0; i < (n); ++i)
^
prog.cpp:103:4: note: in expansion of macro 'FORN'
FORN(j, a[i].SZ)
^