gap.cpp: In function 'long long int subt1(long long int)':
gap.cpp:19:11: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
19 | if(!ts==-1 && ts-tf>mr) mr=ts-tf;
| ^~
gap.cpp:19:8: note: add parentheses around left hand side expression to silence this warning
19 | if(!ts==-1 && ts-tf>mr) mr=ts-tf;
| ^~~
| ( )
gap.cpp:19:11: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare]
19 | if(!ts==-1 && ts-tf>mr) mr=ts-tf;
| ~~~^~~~