Problem duckhunt6
User bribritt
Submission Time 2024-12-22 00:50:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt6.cpp: In function ‘int main()’:
duckhunt6.cpp:49:9: error: ‘r’ was not declared in this scope
49 | if(r<=endPt[x] && sub[preInv[r]]*2==sub[x]) cout << "2\n"<<preInv[l]<<" "<<preInv[r]<<"\n";
| ^