0_0_35695184_16841.cpp: In function 'int main()':
0_0_35695184_16841.cpp:7:26: error: 'scanf' was not declared in this scope
while(scanf("%d%d",&n,&t)!=EOF)
^
0_0_35695184_16841.cpp:7:29: error: 'EOF' was not declared in this scope
while(scanf("%d%d",&n,&t)!=EOF)
^
0_0_35695184_16841.cpp:10:16: error: 'a' was not declared in this scope
scanf("%d",&a[i]);
^
0_0_35695184_16841.cpp:12:16: error: 'b' was not declared in this scope
scanf("%d",&b[i]);
^
0_0_35695184_16841.cpp:13:8: error: 'a' was not declared in this scope
sort(a,a+n,cmp1);
^
0_0_35695184_16841.cpp:13:14: error: 'cmp1' was not declared in this scope
sort(a,a+n,cmp1);
^
0_0_35695184_16841.cpp:13:18: error: 'sort' was not declared in this scope
sort(a,a+n,cmp1);
^
0_0_35695184_16841.cpp:14:8: error: 'b' was not declared in this scope
sort(b,b+n,cmp2);
^
0_0_35695184_16841.cpp:14:14: error: 'cmp2' was not declared in this scope
sort(b,b+n,cmp2);
^
0_0_35695184_16841.cpp:21:20: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
|