0_0_33979415_30227.cpp: In function 'int main()':
0_0_33979415_30227.cpp:41:46: error: 'p' was not declared in this scope
for(int i=0; i<m; i++) if(k >= a[i]) p = i;
^
0_0_33979415_30227.cpp:43:19: error: 'p' was not declared in this scope
for(int i=p; i<m; i++) {
^
0_0_33979415_30227.cpp:47:19: error: 'p' was not declared in this scope
for(int i=p-1; i>=0; i--) {
^
|