startrek.cpp: In function 'long long int re(long long int, long long int, long long int, long long int)':
startrek.cpp:57:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<we>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(i=0; i<pat[cn].size(); i++)
| ~^~~~~~~~~~~~~~~
startrek.cpp:43:17: warning: unused variable 'j' [-Wunused-variable]
43 | long long i,j,fn,fm,ccur = -1,cva0 = 0,fidx,wop = (wh+1)&1,fcur,fva0,cva1 = 0,fva1;
| ^
startrek.cpp:43:22: warning: unused variable 'fm' [-Wunused-variable]
43 | long long i,j,fn,fm,ccur = -1,cva0 = 0,fidx,wop = (wh+1)&1,fcur,fva0,cva1 = 0,fva1;
| ^~
startrek.cpp: In function 'int main()':
startrek.cpp:228:17: warning: unused variable 'j' [-Wunused-variable]
228 | long long i,j,n,m,cn,cm,fn,fm,cl,cr,su,cen,cva0,cva1,ccur,uw,ans;
| ^
startrek.cpp:228:29: warning: unused variable 'fn' [-Wunused-variable]
228 | long long i,j,n,m,cn,cm,fn,fm,cl,cr,su,cen,cva0,cva1,ccur,uw,ans;
| ^~
startrek.cpp:228:32: warning: unused variable 'fm' [-Wunused-variable]
228 | long long i,j,n,m,cn,cm,fn,fm,cl,cr,su,cen,cva0,cva1,ccur,uw,ans;
| ^~
startrek.cpp:228:35: warning: unused variable 'cl' [-Wunused-variable]
228 | long long i,j,n,m,cn,cm,fn,fm,cl,cr,su,cen,cva0,cva1,ccur,uw,ans;
| ^~
startrek.cpp:228:38: warning: unused variable 'cr' [-Wunused-variable]
228 | long long i,j,n,m,cn,cm,fn,fm,cl,cr,su,cen,cva0,cva1,ccur,uw,ans;
| ^~
startrek.cpp:228:41: warning: unused variable 'su' [-Wunused-variable]
228 | long long i,j,n,m,cn,cm,fn,fm,cl,cr,su,cen,cva0,cva1,ccur,uw,ans;
| ^~
startrek.cpp:228:44: warning: unused variable 'cen' [-Wunused-variable]
228 | long long i,j,n,m,cn,cm,fn,fm,cl,cr,su,cen,cva0,cva1,ccur,uw,ans;
| ^~~
startrek.cpp:228:58: warning: unused variable 'ccur' [-Wunused-variable]
228 | long long i,j,n,m,cn,cm,fn,fm,cl,cr,su,cen,cva0,cva1,ccur,uw,ans;
| ^~~~
startrek.cpp:228:63: warning: variable 'uw' set but not used [-Wunused-but-set-variable]
228 | long long i,j,n,m,cn,cm,fn,fm,cl,cr,su,cen,cva0,cva1,ccur,uw,ans;
| ^~
startrek.cpp:227:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
227 | freopen("input19.txt","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
startrek.cpp:229:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
229 | scanf("%lld %lld",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~~~~~
startrek.cpp:232:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
232 | scanf("%lld %lld",&cn,&cm);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~