0_0_25410963_1576.cpp:5:1: error: 'll' does not name a type
ll a[1000010];
^
0_0_25410963_1576.cpp:6:1: error: 'll' does not name a type
ll n,m;
^
0_0_25410963_1576.cpp:7:10: error: 'll' was not declared in this scope
bool cmp(ll x,ll y){return x>y;}
^
0_0_25410963_1576.cpp:7:15: error: 'll' was not declared in this scope
bool cmp(ll x,ll y){return x>y;}
^
0_0_25410963_1576.cpp:7:19: error: expression list treated as compound expression in initializer [-fpermissive]
bool cmp(ll x,ll y){return x>y;}
^
0_0_25410963_1576.cpp:7:20: error: expected ',' or ';' before '{' token
bool cmp(ll x,ll y){return x>y;}
^
0_0_25410963_1576.cpp: In function 'int main()':
0_0_25410963_1576.cpp:9:16: error: 'n' was not declared in this scope
scanf("%d%d",&n,&m);
^
0_0_25410963_1576.cpp:9:19: error: 'm' was not declared in this scope
scanf("%d%d",&n,&m);
^
0_0_25410963_1576.cpp:10:38: error: 'a' was not declared in this scope
for(int i=1;i<=n;i++) scanf("%lld",&a[i]);
^
0_0_25410963_1576.cpp:11:7: error: 'a' was not declared in this scope
sort(a+1,a+n+1,cmp);
^
|