/in/foo.cc: In function 'int main()':
/in/foo.cc:21:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d %d",&ss[i].p,&ss[i].a); //农民要价(单价)和数量
^
/in/foo.cc:21:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:23:6: warning: array subscript is below array bounds [-Warray-bounds]
sort(ss-1,ss+n-1,cmp);
~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:23:6: warning: array subscript is below array bounds [-Warray-bounds]
/in/foo.cc:23:6: warning: array subscript is below array bounds [-Warray-bounds]
/in/foo.cc:23:6: warning: array subscript is below array bounds [-Warray-bounds]
/in/foo.cc:23:6: warning: array subscript is below array bounds [-Warray-bounds]