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