oneway.cpp: In function 'int re(int, int, int)':
oneway.cpp:26:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
oneway.cpp:24:11: warning: unused variable 'j' [-Wunused-variable]
24 | int i,j,fn,fidx,fdir,ret = mxi,cva;
| ^
oneway.cpp: In function 'int main()':
oneway.cpp:83:11: warning: unused variable 'j' [-Wunused-variable]
83 | int i,j,q,k,n,m,cn,cm,fn,fm,roo = 1;
| ^
oneway.cpp:83:15: warning: unused variable 'k' [-Wunused-variable]
83 | int i,j,q,k,n,m,cn,cm,fn,fm,roo = 1;
| ^
oneway.cpp:83:27: warning: unused variable 'fn' [-Wunused-variable]
83 | int i,j,q,k,n,m,cn,cm,fn,fm,roo = 1;
| ^~
oneway.cpp:83:30: warning: unused variable 'fm' [-Wunused-variable]
83 | int i,j,q,k,n,m,cn,cm,fn,fm,roo = 1;
| ^~
oneway.cpp:83:33: warning: unused variable 'roo' [-Wunused-variable]
83 | int i,j,q,k,n,m,cn,cm,fn,fm,roo = 1;
| ^~~
oneway.cpp:84:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
84 | scanf("%d %d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~
oneway.cpp:87:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
87 | scanf("%d %d",&cn,&cm);
| ~~~~~^~~~~~~~~~~~~~~~~
oneway.cpp:91:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
91 | scanf("%d",&q);
| ~~~~~^~~~~~~~~
oneway.cpp:94:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
94 | scanf("%d %d",&cn,&cm);
| ~~~~~^~~~~~~~~~~~~~~~~