0_0_13803607_18352.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13803607_18352.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13803607_18352.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13803607_18352.cpp: In function 'int main()':
0_0_13803607_18352.cpp:14:21: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF,n){
^
0_0_13803607_18352.cpp:14:24: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF,n){
^
0_0_13803607_18352.cpp:17:4: error: expected ';' before 'scanf'
scanf("%d",&a[i]);
^
0_0_13803607_18352.cpp:17:21: error: expected ')' before ';' token
scanf("%d",&a[i]);
^
0_0_13803607_18352.cpp:20:7: error: 'i' was not declared in this scope
for(i = 0 ; i
^
0_0_13803607_18352.cpp:21:6: error: expected ';' before 'scanf'
scanf("%d",&b[i]);
^
0_0_13803607_18352.cpp:21:22: error: 'scanf' was not declared in this scope
scanf("%d",&b[i]);
^
0_0_13803607_18352.cpp:21:23: error: expected ')' before ';' token
scanf("%d",&b[i]);
^
0_0_13803607_18352.cpp: At global scope:
0_0_13803607_18352.cpp:24:7: error: expected constructor, destructor, or type conversion before '(' token
sort(a,a+n);
^
0_0_13803607_18352.cpp:25:7: error: expected constructor, destructor, or type conversion before '(' token
sort(b,b+n);
^
0_0_13803607_18352.cpp:30:3: error: expected unqualified-id before 'for'
for(i = 0 ; i
^
0_0_13803607_18352.cpp:30:15: error: 'i' does not name a type
for(i = 0 ; i
^
0_0_13803607_18352.cpp:33:5: error: expected unqualified-id before 'else'
}else if(a[i] == b[i]){
^
0_0_13803607_18352.cpp:36:5: error: expected unqualified-id before 'else'
}else{
^
0_0_13803607_18352.cpp:40:3: error: expected declaration before '}' token
}
^
|