0_0_23387473_15218.cpp:5:5: error: expected primary-expression before 'long'
long long m,n,i,j;
^
0_0_23387473_15218.cpp:5:5: error: expected '}' before 'long'
0_0_23387473_15218.cpp:5:5: error: expected ',' or ';' before 'long'
0_0_23387473_15218.cpp:6:10: error: expected constructor, destructor, or type conversion before '(' token
scanf("%I64dI64d",&m,&n);
^
0_0_23387473_15218.cpp:9:5: error: expected unqualified-id before 'for'
for(i=0;i<m;i++)
^
0_0_23387473_15218.cpp:9:13: error: 'i' does not name a type
for(i=0;i<m;i++)
^
0_0_23387473_15218.cpp:9:17: error: 'i' does not name a type
for(i=0;i<m;i++)
^
0_0_23387473_15218.cpp:11:17: error: expected constructor, destructor, or type conversion before '(' token
sort(a,a+m-1);
^
0_0_23387473_15218.cpp:12:5: error: expected unqualified-id before 'for'
for(j=m-1;j>=m-n;j--)
^
0_0_23387473_15218.cpp:12:15: error: 'j' does not name a type
for(j=m-1;j>=m-n;j--)
^
0_0_23387473_15218.cpp:12:22: error: 'j' does not name a type
for(j=m-1;j>=m-n;j--)
^
0_0_23387473_15218.cpp:14:15: error: expected constructor, destructor, or type conversion before '(' token
printf("\n");
^
0_0_23387473_15218.cpp:15:9: error: expected declaration before '}' token
}
^
|