0_0_21659357_8198.cpp:1:31: error: stray '#' in program
<span style="font-size:18px;">#include<bits/stdc++.h>
^
0_0_21659357_8198.cpp:1:1: error: expected unqualified-id before '<' token
<span style="font-size:18px;">#include<bits/stdc++.h>
^
0_0_21659357_8198.cpp: In function 'int main()':
0_0_21659357_8198.cpp:14:22: error: 'scanf' was not declared in this scope
scanf("%d",&t);
^
0_0_21659357_8198.cpp:22:35: error: 'sort' was not declared in this scope
sort(b+1,b+n+1,cmp);
^
0_0_21659357_8198.cpp:26:53: error: 'printf' was not declared in this scope
if(i!=n) printf("%d ",b[j].x);
^
0_0_21659357_8198.cpp:27:50: error: 'printf' was not declared in this scope
else printf("%d\n",b[j].x);
^
|