0_0_35225011_29899.cpp:3:16: error: expected initializer before numeric constant
const int maxn 1e5+10;
^
0_0_35225011_29899.cpp:5:6: error: 'maxn' was not declared in this scope
ll a[maxn],b[maxn],cnt;
^
0_0_35225011_29899.cpp:5:14: error: 'maxn' was not declared in this scope
ll a[maxn],b[maxn],cnt;
^
0_0_35225011_29899.cpp: In function 'void merge(ll, ll, ll)':
0_0_35225011_29899.cpp:11:6: error: 'a' was not declared in this scope
if(a[i]>a[j])
^
0_0_35225011_29899.cpp:13:4: error: 'b' was not declared in this scope
b[t++]=a[j++];
^
0_0_35225011_29899.cpp:16:8: error: 'b' was not declared in this scope
else b[t++]=a[i++];
^
0_0_35225011_29899.cpp:18:16: error: 'b' was not declared in this scope
while(i<=mid) b[t++]=a[i++];
^
0_0_35225011_29899.cpp:18:23: error: 'a' was not declared in this scope
while(i<=mid) b[t++]=a[i++];
^
0_0_35225011_29899.cpp:19:14: error: 'b' was not declared in this scope
while(j<=r) b[t++]=a[j++];
^
0_0_35225011_29899.cpp:19:21: error: 'a' was not declared in this scope
while(j<=r) b[t++]=a[j++];
^
0_0_35225011_29899.cpp:20:19: error: 'a' was not declared in this scope
for(i=0;i<t;i++) a[l+i]=b[i];
^
0_0_35225011_29899.cpp:20:26: error: 'b' was not declared in this scope
for(i=0;i<t;i++) a[l+i]=b[i];
^
0_0_35225011_29899.cpp: In function 'int main()':
0_0_35225011_29899.cpp:40:18: error: 'a' was not declared in this scope
scanf("%lld",&a[i]);
^
|