0_0_18803270_15002.cpp:3:11: error: '::main' must return 'int'
void main()
^
0_0_18803270_15002.cpp: In function 'int main()':
0_0_18803270_15002.cpp:12:11: error: expected ';' before 'scanf'
for(i=0;i scanf("%d",&a[i]);
^
0_0_18803270_15002.cpp:12:28: error: expected ')' before ';' token
for(i=0;i scanf("%d",&a[i]);
^
0_0_18803270_15002.cpp:13:11: error: expected ';' before 'scanf'
for(i=0;i scanf("%d",&b[i]);
^
0_0_18803270_15002.cpp:13:28: error: expected ')' before ';' token
for(i=0;i scanf("%d",&b[i]);
^
0_0_18803270_15002.cpp:19:11: error: expected ';' before 'if'
for(i=0;i if(a[i]>a[i+1])
^
0_0_18803270_15002.cpp:19:11: error: expected primary-expression before 'if'
0_0_18803270_15002.cpp:19:11: error: expected ')' before 'if'
0_0_18803270_15002.cpp:26:11: error: expected ';' before 'printf'
for(i=0;i printf("%d ",a[i]);
^
0_0_18803270_15002.cpp:26:29: error: expected ')' before ';' token
for(i=0;i printf("%d ",a[i]);
^
0_0_18803270_15002.cpp:31:11: error: expected ';' before '{' token
for(i=0;i {
^
0_0_18803270_15002.cpp:31:11: error: expected primary-expression before '{' token
0_0_18803270_15002.cpp:31:11: error: expected ')' before '{' token
0_0_18803270_15002.cpp:33:11: error: expected ';' before 'if'
for(j=0;j if(a[i]!=b[j])
^
0_0_18803270_15002.cpp:33:11: error: expected primary-expression before 'if'
0_0_18803270_15002.cpp:33:11: error: expected ')' before 'if'
0_0_18803270_15002.cpp:47:11: error: expected ';' before 'if'
for(i=0;i if(c[i]>c[i+1])
^
0_0_18803270_15002.cpp:47:11: error: expected primary-expression before 'if'
0_0_18803270_15002.cpp:47:11: error: expected ')' before 'if'
0_0_18803270_15002.cpp:54:11: error: expected ';' before 'printf'
for(i=0;i printf("%d ",c[i]);
^
0_0_18803270_15002.cpp:54:29: error: expected ')' before ';' token
for(i=0;i printf("%d ",c[i]);
^
|