lozinke.cpp: In function 'bool check(int, int)':
lozinke.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int j = 1; j <= s[u].size() - s[v].size() + 1; j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lozinke.cpp: In function 'int main()':
lozinke.cpp:60:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for (int j = 1; j < s[i].size(); j++)
| ~~^~~~~~~~~~~~~
lozinke.cpp:11:26: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | #define inpout(x) freopen(x".inp", "r", stdin), freopen(x".out", "w", stdout)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
lozinke.cpp:44:5: note: in expansion of macro 'inpout'
44 | inpout("pass");
| ^~~~~~
lozinke.cpp:11:56: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | #define inpout(x) freopen(x".inp", "r", stdin), freopen(x".out", "w", stdout)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
lozinke.cpp:44:5: note: in expansion of macro 'inpout'
44 | inpout("pass");
| ^~~~~~