0_0_32902038_10240.cpp:3:7: error: 'MAXN' was not declared in this scope
int a[MAXN],b[MAXN];
^
0_0_32902038_10240.cpp:3:15: error: 'MAXN' was not declared in this scope
int a[MAXN],b[MAXN];
^
0_0_32902038_10240.cpp: In function 'int main()':
0_0_32902038_10240.cpp:7:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n))
^
0_0_32902038_10240.cpp:9:41: error: 'a' was not declared in this scope
for(int i=0;i<n;i++) scanf("%d",a+i);
^
0_0_32902038_10240.cpp:10:41: error: 'b' was not declared in this scope
for(int i=0;i<n;i++) scanf("%d",b+i);
^
0_0_32902038_10240.cpp:11:14: error: 'a' was not declared in this scope
sort(a,a+n);
^
0_0_32902038_10240.cpp:11:19: error: 'sort' was not declared in this scope
sort(a,a+n);
^
0_0_32902038_10240.cpp:12:14: error: 'b' was not declared in this scope
sort(b,b+n);
^
0_0_32902038_10240.cpp:19:9: error: 'cout' was not declared in this scope
cout<<ans<<endl;
^
0_0_32902038_10240.cpp:19:20: error: 'endl' was not declared in this scope
cout<<ans<<endl;
^
|