gap.cpp: In function 'long long int findGap(int, int)':
gap.cpp:74:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for(int i=0;i<s.size()-1;i++)
| ~^~~~~~~~~~~
gap.cpp:74:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
74 | for(int i=0;i<s.size()-1;i++)
| ^~~
gap.cpp:76:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
76 | return res;
| ^~~~~~
gap.cpp:46:11: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
46 | freopen("dcm.inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
gap.cpp:47:11: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
47 | freopen("dcm.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~