/in/foo.cc: In function 'int main()':
/in/foo.cc:14:42: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d%I64d",&s[i].x,&s[i].y); s[i].id=i;
^
/in/foo.cc:14:42: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:23:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=N;i++) printf("%d ",ans[i]); return 0;
^~~
/in/foo.cc:23:56: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=N;i++) printf("%d ",ans[i]); return 0;
^~~~~~
/in/foo.cc:12:13: warning: unused variable 'j' [-Wunused-variable]
int N,i,j; P=p*p;scanf("%d",&N);
^