gap.cpp: In function 'long long int T1()':
gap.cpp:19:23: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
19 | while(vect.size() < n) {
| ~~~~~~~~~~~~^~~
gap.cpp:27:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i = 0; i < vect.size() - 1; i++)
| ~~^~~~~~~~~~~~~~~~~
gap.cpp:27:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
27 | for(int i = 0; i < vect.size() - 1; i++)
| ^~~
gap.cpp:29:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
29 | return ans;
| ^~~~~~
gap.cpp: In function 'long long int T2()':
gap.cpp:41:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int i = 0; i < vect.size() - 1; i++)
| ~~^~~~~~~~~~~~~~~~~