hac.cpp: In function 'int main()':
hac.cpp:33:28: warning: format '%i' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%i", &psa[l]);
^
hac.cpp:42:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s.size()>(n+1)/2) s.erase(s.lb(psa[l-(n+1)/2]-psa[l-n]));
^
hac.cpp:43:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s.size()==(n+1)/2) ans=min(ans, *--s.end());
^
hac.cpp:31:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &n);
^
hac.cpp:33:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &psa[l]);
^