0_0_36197956_26816.cpp:5:1: error: expected unqualified-id before '{' token
{
^
0_0_36197956_26816.cpp: In function 'void bubble_sort()':
0_0_36197956_26816.cpp:15:7: error: 'j' was not declared in this scope
if(a[j]>a[j+1])
^
0_0_36197956_26816.cpp: At global scope:
0_0_36197956_26816.cpp:20:3: error: expected primary-expression before 'while'
while(~scanf("%d%d",&n,&m))
^
0_0_36197956_26816.cpp:20:3: error: expected '}' before 'while'
0_0_36197956_26816.cpp:20:3: error: expected ',' or ';' before 'while'
|