0_0_33220665_12581.cpp: In function 'int main()': 0_0_33220665_12581.cpp:63:9: error: 'vec' was not declared in this scope vec.clear(); ^ 0_0_33220665_12581.cpp:69:16: error: 'i' was not declared in this scope sort(a[i] + 1 , a[i] + 1 + n , cmp); ^